cvs commit: src/sbin/ping6 ping6.c src/usr.sbin/traceroute6
traceroute6.c
Maxim Konovalov
maxim at FreeBSD.org
Mon Jul 21 04:06:48 PDT 2003
maxim 2003/07/21 04:06:47 PDT
FreeBSD src repository
Modified files:
sbin/ping6 ping6.c
usr.sbin/traceroute6 traceroute6.c
Log:
Quote from a Problem Report:
The output format specifier for the round-trip time in ping6 should be
changed to %.3f instead of %g since %g doesn't accurately represent the
precision of the number being output. In particular, %g truncates trailing
zeroes. 0.01 ms does not mean the same thing as 0.010 ms. Although they
are numerically identical, they do not have the same precision.
PR: bin/52324, bin/52750
Submitted by: dg
MFC after: 1 week
Revision Changes Path
1.23 +1 -1 src/sbin/ping6/ping6.c
1.12 +1 -1 src/usr.sbin/traceroute6/traceroute6.c
More information about the cvs-src
mailing list