aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorBill Fenner <fenner@FreeBSD.org>1996-12-02 21:42:11 +0000
committerBill Fenner <fenner@FreeBSD.org>1996-12-02 21:42:11 +0000
commit0b71f5af34094ffb12b0c4e47ced0db23b83326e (patch)
treec5be5b564c0aae8922b6e7ea197244322061adef /sbin
parent610600118c0f59cad6a80db6f277c0c81ba52e8e (diff)
downloadsrc-0b71f5af34094ffb12b0c4e47ced0db23b83326e.tar.gz
src-0b71f5af34094ffb12b0c4e47ced0db23b83326e.zip
Fix math in SIGINFO printer.
Notes
Notes: svn path=/head/; revision=20099
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ping/ping.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ping/ping.c b/sbin/ping/ping.c
index 02b34fcec1be..9d64dcf4c595 100644
--- a/sbin/ping/ping.c
+++ b/sbin/ping/ping.c
@@ -751,9 +751,9 @@ status()
: 0),
temp_min,
((nreceived + nrepeats) ?
- (tsum / (nreceived + nrepeats))/1000.0
+ (tsum / (nreceived + nrepeats))
: tsum),
- tmax/ 1000.0);
+ tmax);
}
/*