Author: delphij Date: Mon Jul 2 02:38:27 2012 New Revision: 237942 URL: http://svn.freebsd.org/changeset/base/237942
Log: Use timeclear() instead of home grown version. MFC after: 2 weeks Modified: head/sbin/ping/ping.c Modified: head/sbin/ping/ping.c ============================================================================== --- head/sbin/ping/ping.c Mon Jul 2 02:36:05 2012 (r237941) +++ head/sbin/ping/ping.c Mon Jul 2 02:38:27 2012 (r237942) @@ -832,7 +832,7 @@ main(int argc, char *const *argv) timeout.tv_sec++; } if (timeout.tv_sec < 0) - timeout.tv_sec = timeout.tv_usec = 0; + timerclear(&timeout); n = select(s + 1, &rfds, NULL, NULL, &timeout); if (n < 0) continue; /* Must be EINTR. */ _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"