diff options
author | okan <okan@openbsd.org> | 2011-03-22 10:16:23 +0000 |
---|---|---|
committer | okan <okan@openbsd.org> | 2011-03-22 10:16:23 +0000 |
commit | 6c2da34c701487e6cd820640c4c9f2e778fd6621 (patch) | |
tree | c4ca3da6aaace82debb3ee15e1a5bec423abf2bb /usr.sbin/mrinfo | |
parent | don't refer to an error message which no longer exists (bge's jumbo buffer (diff) | |
download | wireguard-openbsd-6c2da34c701487e6cd820640c4c9f2e778fd6621.tar.xz wireguard-openbsd-6c2da34c701487e6cd820640c4c9f2e778fd6621.zip |
use timerclear macro
ok miod@
Diffstat (limited to 'usr.sbin/mrinfo')
-rw-r--r-- | usr.sbin/mrinfo/mrinfo.c | 2 |
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); |