diff options
Diffstat (limited to 'usr.bin/systat/tcp.c')
-rw-r--r-- | usr.bin/systat/tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/systat/tcp.c b/usr.bin/systat/tcp.c index 134aa9af986a..c9e8e9ae1821 100644 --- a/usr.bin/systat/tcp.c +++ b/usr.bin/systat/tcp.c @@ -147,7 +147,7 @@ domode(struct tcpstat *ret) switch(currentmode) { case display_RATE: sub = &oldstat; - divisor = naptime; + divisor = (delay > 1000000) ? delay / 1000000 : 1; break; case display_DELTA: sub = &oldstat; |