diff options
author | smkelly <smkelly@FreeBSD.org> | 2004-04-28 07:35:03 +0000 |
---|---|---|
committer | smkelly <smkelly@FreeBSD.org> | 2004-04-28 07:35:03 +0000 |
commit | 0de7ed8edec107472961f7083a442fabaf962040 (patch) | |
tree | 9436d103ad93b47d6040c88a0b8887a46bba83fa /usr.sbin/watchdogd | |
parent | 927b01d312e0bade2531ffc06868a48f6e5a734e (diff) | |
download | FreeBSD-src-0de7ed8edec107472961f7083a442fabaf962040.zip FreeBSD-src-0de7ed8edec107472961f7083a442fabaf962040.tar.gz |
Update comments to reflect changes made by phk. Also no longer need
<sys/sysctl.h>.
Diffstat (limited to 'usr.sbin/watchdogd')
-rw-r--r-- | usr.sbin/watchdogd/watchdogd.c | 7 |
1 files changed, 2 insertions, 5 deletions
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 <sys/rtprio.h> #include <sys/stat.h> -#include <sys/sysctl.h> #include <sys/time.h> #include <sys/watchdog.h> @@ -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() |