summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/rwhod/rwhod.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/rwhod/rwhod.c b/usr.sbin/rwhod/rwhod.c
index 09d5f8a..4dbd039 100644
--- a/usr.sbin/rwhod/rwhod.c
+++ b/usr.sbin/rwhod/rwhod.c
@@ -264,7 +264,8 @@ main(int argc, char *argv[])
}
for (;;) {
struct whod wd;
- int cc, whod, len = sizeof(from);
+ socklen_t len = sizeof(from);
+ int cc, whod;
time_t t;
cc = recvfrom(s, (char *)&wd, sizeof(struct whod), 0,
OpenPOWER on IntegriCloud