summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_watchdog.c
diff options
context:
space:
mode:
authormk <mk@openbsd.org>2006-07-12 21:31:23 +0000
committermk <mk@openbsd.org>2006-07-12 21:31:23 +0000
commit3c8dc08ea08d24bc2ec431591c27a18cf617d648 (patch)
tree1f0882c33a780997192b8569ec1cae11ec5f0809 /sys/kern/kern_watchdog.c
parentonly call the init routine if the interface is not already running. (diff)
downloadwireguard-openbsd-3c8dc08ea08d24bc2ec431591c27a18cf617d648.tar.xz
wireguard-openbsd-3c8dc08ea08d24bc2ec431591c27a18cf617d648.zip
Small KNF.
Diffstat (limited to 'sys/kern/kern_watchdog.c')
-rw-r--r--sys/kern/kern_watchdog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_watchdog.c b/sys/kern/kern_watchdog.c
index b678384ffc2..ef620604f0f 100644
--- a/sys/kern/kern_watchdog.c
+++ b/sys/kern/kern_watchdog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_watchdog.c,v 1.4 2006/04/19 09:55:32 dlg Exp $ */
+/* $OpenBSD: kern_watchdog.c,v 1.5 2006/07/12 21:31:23 mk Exp $ */
/*
* Copyright (c) 2003 Markus Friedl. All rights reserved.
@@ -35,7 +35,7 @@ int (*wdog_ctl_cb)(void *, int) = NULL;
void *wdog_ctl_cb_arg = NULL;
int wdog_period = 0;
int wdog_auto = 1;
-struct timeout wdog_timeout;
+struct timeout wdog_timeout;
void
wdog_register(void *cb_arg, int (*cb)(void *, int))