Changed output formatting to correctly represent the precision - it's

not cool to truncate trailing zeros..
This commit is contained in:
David Greenman 1994-08-29 17:45:43 +00:00
parent 6439f9e911
commit 59df70ee2f

View File

@ -507,7 +507,7 @@ main(argc, argv)
print(packet, cc, &from);
lastaddr = from.sin_addr.s_addr;
}
Printf(" %g ms", deltaT(&t1, &t2));
Printf(" %.3f ms", deltaT(&t1, &t2));
switch(i - 1) {
case ICMP_UNREACH_PORT:
#ifndef ARCHAIC