summaryrefslogtreecommitdiff
path: root/usr.sbin/mrinfo/mrinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/mrinfo/mrinfo.c')
-rw-r--r--usr.sbin/mrinfo/mrinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/mrinfo/mrinfo.c b/usr.sbin/mrinfo/mrinfo.c
index 9dc0a6fdfba..08962772dc3 100644
--- a/usr.sbin/mrinfo/mrinfo.c
+++ b/usr.sbin/mrinfo/mrinfo.c
@@ -419,7 +419,7 @@ main(int argc, char *argv[])
--tv.tv_sec;
}
if (tv.tv_sec < 0)
- tv.tv_sec = tv.tv_usec = 0;
+ timerclear(&tv);
count = poll(pfd, 1, tv.tv_sec * 1000);