util/watchdog.lua
changeset 4891 189cfe565d03
parent 4401 0ed617f58404
child 6780 5de6b93d0190
--- a/util/watchdog.lua	Fri May 18 01:50:51 2012 +0100
+++ b/util/watchdog.lua	Fri May 18 04:22:51 2012 +0100
@@ -16,7 +16,7 @@
 		end
 		local time_left = (last_reset + timeout) - current_time;
 		if time_left < 0 then
-			return watchdog.callback();
+			return watchdog:callback();
 		end
 		return time_left + 1;
 	end);