aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/watchdogd/watchdogd.c
diff options
context:
space:
mode:
authorSean Kelly <smkelly@FreeBSD.org>2003-06-26 18:36:57 +0000
committerSean Kelly <smkelly@FreeBSD.org>2003-06-26 18:36:57 +0000
commit055d177fb08abc0e1c4218ff812f14ce7270e6c5 (patch)
tree82b92d618e9cc7473622b2b7f4cb52ab814f01d6 /usr.sbin/watchdogd/watchdogd.c
parente542f156ccbe920f67ad94c908252c769be47998 (diff)
downloadsrc-055d177fb08abc0e1c4218ff812f14ce7270e6c5.tar.gz
src-055d177fb08abc0e1c4218ff812f14ce7270e6c5.zip
Notes
Diffstat (limited to 'usr.sbin/watchdogd/watchdogd.c')
-rw-r--r--usr.sbin/watchdogd/watchdogd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/watchdogd/watchdogd.c b/usr.sbin/watchdogd/watchdogd.c
index 62ce5965bb36..cfee0eb6db3c 100644
--- a/usr.sbin/watchdogd/watchdogd.c
+++ b/usr.sbin/watchdogd/watchdogd.c
@@ -59,7 +59,7 @@ int debugging = 0;
int end_program = 0;
const char *pidfile = _PATH_VARRUN "watchdogd.pid";
int reset_mib[3];
-int reset_miblen = 3;
+size_t reset_miblen = 3;
/*
* Periodically write to the debug.watchdog.reset sysctl OID
@@ -180,7 +180,7 @@ watchdog_onoff(int onoff)
{
int mib[3];
int error;
- int len;
+ size_t len;
len = 3;