506f9a
diff -up nut-2.2.2/drivers/main-hal.c.oldglib2 nut-2.2.2/drivers/main-hal.c
506f9a
--- nut-2.2.2/drivers/main-hal.c.oldglib2	2011-03-16 15:26:30.505551525 +0100
506f9a
+++ nut-2.2.2/drivers/main-hal.c	2011-03-16 15:26:30.521551525 +0100
506f9a
@@ -333,7 +333,7 @@ int main(int argc, char **argv)
506f9a
 	}
506f9a
 
506f9a
 	/* add a timer for data update */
506f9a
-	g_timeout_add_seconds (poll_interval,
506f9a
+	g_timeout_add (poll_interval*1000,
506f9a
 							(GSourceFunc)update_data,
506f9a
 							NULL);
506f9a