From nobody@FreeBSD.org Sat Jan 28 18:38:24 2012 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68050106564A for ; Sat, 28 Jan 2012 18:38:24 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 395558FC14 for ; Sat, 28 Jan 2012 18:38:24 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q0SIcO0A091834 for ; Sat, 28 Jan 2012 18:38:24 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q0SIcNng091833; Sat, 28 Jan 2012 18:38:23 GMT (envelope-from nobody) Message-Id: <201201281838.q0SIcNng091833@red.freebsd.org> Date: Sat, 28 Jan 2012 18:38:23 GMT From: Bruce Cran To: freebsd-gnats-submit@FreeBSD.org Subject: ping(8) should use clock_gettime instead of gettimeofday X-Send-Pr-Version: www-3.1 X-GNATS-Notify: >Number: 164585 >Category: bin >Synopsis: ping(8) should use clock_gettime instead of gettimeofday >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jan 28 18:40:09 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Bruce Cran >Release: 9.0-STABLE >Organization: >Environment: FreeBSD nas.wharfnet 9.0-STABLE FreeBSD 9.0-STABLE #1 r229697: Mon Jan 9 01:28:08 GMT 2012 brucec@nas.wharfnet:/usr/obj/usr/src/9/sys/NAS amd64 >Description: Since ping(8) only needs monotonic time and not real time, it should use clock_gettime instead of gettimeofday. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: