Преглед изворни кода

Fix problem in totemiba where incorrect define is used (and also not defined)

Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
Steven Dake пре 14 година
родитељ
комит
2565dfa03d
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      exec/totemiba.c

+ 3 - 1
exec/totemiba.c

@@ -70,6 +70,8 @@
 #include <corosync/list.h>
 #include <corosync/hdb.h>
 #include <corosync/swab.h>
+
+#include <qb/qbdefs.h>
 #include <qb/qbloop.h>
 #define LOGSYS_UTILS_ONLY 1
 #include <corosync/engine/logsys.h>
@@ -1316,7 +1318,7 @@ int totemiba_initialize (
 
 	qb_loop_timer_add (instance->totemiba_poll_handle,
 		QB_LOOP_MED,
-		100*QB_TIME_NS_IN_NSEC,
+		100*QB_TIME_NS_IN_MSEC,
 		(void *)instance,
 		timer_function_netif_check_timeout,
 		&instance->timer_netif_check_timeout);