summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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