diff options
-rw-r--r-- | sys/kern/kern_watchdog.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/kern/kern_watchdog.c b/sys/kern/kern_watchdog.c index d27927fbef4..365b6ff7d54 100644 --- a/sys/kern/kern_watchdog.c +++ b/sys/kern/kern_watchdog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_watchdog.c,v 1.2 2005/11/28 00:14:29 jsg Exp $ */ +/* $OpenBSD: kern_watchdog.c,v 1.3 2006/04/18 13:07:00 dlg Exp $ */ /* * Copyright (c) 2003 Markus Friedl. All rights reserved. @@ -71,6 +71,9 @@ wdog_shutdown(void *arg) return; timeout_del(&wdog_timeout); (void) (*wdog_ctl_cb)(wdog_ctl_cb_arg, 0); + wdog_ctl_cb = NULL; + wdog_period = 0; + wdog_auto = 1; } int |