summaryrefslogtreecommitdiffstats
path: root/usr.sbin/watchdogd
diff options
context:
space:
mode:
authorsmkelly <smkelly@FreeBSD.org>2003-06-26 18:36:57 +0000
committersmkelly <smkelly@FreeBSD.org>2003-06-26 18:36:57 +0000
commitcf65bb428fb9ef29f4f62ca04285d2695bd11709 (patch)
tree82b92d618e9cc7473622b2b7f4cb52ab814f01d6 /usr.sbin/watchdogd
parent42e3f9b6ff9bd94b96bf4b93105dc84cab7c615c (diff)
downloadFreeBSD-src-cf65bb428fb9ef29f4f62ca04285d2695bd11709.zip
FreeBSD-src-cf65bb428fb9ef29f4f62ca04285d2695bd11709.tar.gz
Unbreak this for alpha and friends.
Double pointy hat to me, or something.
Diffstat (limited to 'usr.sbin/watchdogd')
-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 62ce596..cfee0eb 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;
OpenPOWER on IntegriCloud