summaryrefslogtreecommitdiffstats
path: root/usr.sbin/watchdogd
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/watchdogd')
-rw-r--r--usr.sbin/watchdogd/watchdogd.c7
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()
OpenPOWER on IntegriCloud