]> err.no Git - linux-2.6/commitdiff
[PATCH] softdog build fix
authorAndrew Morton <akpm@osdl.org>
Wed, 27 Jul 2005 04:41:38 +0000 (21:41 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 27 Jul 2005 04:48:54 +0000 (21:48 -0700)
drivers/char/watchdog/softdog.c:94: too many arguments to function `emergency_restart'

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/watchdog/softdog.c

index 0d93097f06b489c491f17626162bd658b9a9d4a5..98c7578740e2fd0e336cf52cfe927de077badb66 100644 (file)
@@ -97,7 +97,7 @@ static void watchdog_fire(unsigned long data)
        else
        {
                printk(KERN_CRIT PFX "Initiating system reboot.\n");
-               emergency_restart(NULL);
+               emergency_restart();
                printk(KERN_CRIT PFX "Reboot didn't ?????\n");
        }
 }