From 0de7ed8edec107472961f7083a442fabaf962040 Mon Sep 17 00:00:00 2001 From: smkelly Date: Wed, 28 Apr 2004 07:35:03 +0000 Subject: Update comments to reflect changes made by phk. Also no longer need . --- usr.sbin/watchdogd/watchdogd.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'usr.sbin/watchdogd') diff --git a/usr.sbin/watchdogd/watchdogd.c b/usr.sbin/watchdogd/watchdogd.c index a382a7c..db7a2b3 100644 --- a/usr.sbin/watchdogd/watchdogd.c +++ b/usr.sbin/watchdogd/watchdogd.c @@ -33,7 +33,6 @@ __FBSDID("$FreeBSD$"); #include #include -#include #include #include @@ -70,8 +69,7 @@ int nap = 1; char *test_cmd = NULL; /* - * Periodically write to the debug.watchdog.reset sysctl OID - * to keep the software watchdog from firing. + * Periodically pat the watchdog, preventing it from firing. */ int main(int argc, char *argv[]) @@ -140,8 +138,7 @@ sighandler(int signum) } /* - * Locate the OID for the 'debug.watchdog.reset' sysctl setting. - * Upon finding it, do an initial reset on the watchdog. + * Open the watchdog device. */ static int watchdog_init() -- cgit v1.1