]> git.proxmox.com Git - mirror_corosync.git/commitdiff
Fix problem in totemiba where incorrect define is used (and also not defined)
authorSteven Dake <sdake@redhat.com>
Tue, 9 Aug 2011 21:48:19 +0000 (14:48 -0700)
committerSteven Dake <sdake@redhat.com>
Mon, 15 Aug 2011 18:14:21 +0000 (11:14 -0700)
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
exec/totemiba.c

index 2d8c690875877b389004b6aee11edc2d4469cb1d..a16f88a3008f5423504b9788f4a5fb99e119c8b7 100644 (file)
@@ -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);