summaryrefslogtreecommitdiff
path: root/usr.sbin/rbootd/rbootd.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2016-03-16 15:41:12 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2016-03-16 15:41:12 +0000
commitd8ebeb5c1882685478f7aff85d3cfd52cb45385b (patch)
tree6a871a498e943d359bc98a18b415e916ac0ef2b6 /usr.sbin/rbootd/rbootd.c
parent043c400f909ee0b4431a6657c5b1550df8ab4c83 (diff)
More "(<blah> *)0" -> NULL, avoiding any stdarg functions.
Feedback millert@ kettenis@
Diffstat (limited to 'usr.sbin/rbootd/rbootd.c')
-rw-r--r--usr.sbin/rbootd/rbootd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rbootd/rbootd.c b/usr.sbin/rbootd/rbootd.c
index bcf94b469f4..1c7d1d78aa1 100644
--- a/usr.sbin/rbootd/rbootd.c
+++ b/usr.sbin/rbootd/rbootd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rbootd.c,v 1.29 2016/01/25 21:31:38 gsoares Exp $ */
+/* $OpenBSD: rbootd.c,v 1.30 2016/03/16 15:41:11 krw Exp $ */
/* $NetBSD: rbootd.c,v 1.5 1995/10/06 05:12:17 thorpej Exp $ */
/*
@@ -289,7 +289,7 @@ DoTimeout(void)
RMPCONN *rtmp;
struct timeval now;
- (void) gettimeofday(&now, (struct timezone *)0);
+ (void) gettimeofday(&now, NULL);
/*
* For each active connection, if RMP_TIMEOUT seconds have passed