summaryrefslogtreecommitdiff
path: root/sys/dev/watchdog
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2015-05-22 17:05:21 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2015-05-22 17:05:21 +0000
commitfd90e2ed54a69bb07d14dcd4e805431ccb7d6cb6 (patch)
tree9c598a67317c5e22e5e44d49e8bb797cb28e79b9 /sys/dev/watchdog
parent316f4c880a15660086e5c9e7ee31f8b717e855f1 (diff)
Notes
Diffstat (limited to 'sys/dev/watchdog')
-rw-r--r--sys/dev/watchdog/watchdog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/watchdog/watchdog.c b/sys/dev/watchdog/watchdog.c
index 5c9c6a114071..9d8732770f00 100644
--- a/sys/dev/watchdog/watchdog.c
+++ b/sys/dev/watchdog/watchdog.c
@@ -389,8 +389,8 @@ watchdog_modevent(module_t mod __unused, int type, void *data __unused)
{
switch(type) {
case MOD_LOAD:
- callout_init(&wd_pretimeo_handle, true);
- callout_init(&wd_softtimeo_handle, true);
+ callout_init(&wd_pretimeo_handle, 1);
+ callout_init(&wd_softtimeo_handle, 1);
wd_dev = make_dev(&wd_cdevsw, 0,
UID_ROOT, GID_WHEEL, 0600, _PATH_WATCHDOG);
return 0;