summaryrefslogtreecommitdiff
path: root/usr.bin/fetch
diff options
context:
space:
mode:
authorAndre Oppermann <andre@FreeBSD.org>2012-12-09 22:54:03 +0000
committerAndre Oppermann <andre@FreeBSD.org>2012-12-09 22:54:03 +0000
commit162361c1988b107606f9546b2c3543c58970123a (patch)
treefefb4fe9332bb874aaf8bdf4aba396956f65b53b /usr.bin/fetch
parent39d4f2c6f0c99f7e25665e7408504b3d037a1d06 (diff)
Notes
Diffstat (limited to 'usr.bin/fetch')
-rw-r--r--usr.bin/fetch/fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/fetch/fetch.c b/usr.bin/fetch/fetch.c
index 025fcdc94e7b..d3e9b21a313f 100644
--- a/usr.bin/fetch/fetch.c
+++ b/usr.bin/fetch/fetch.c
@@ -183,7 +183,7 @@ stat_bps(struct xferstat *xs)
if (delta == 0.0) {
snprintf(str, sizeof str, "?? Bps");
} else {
- bps = (xs->rcvd - xs->lastrcvd - xs->offset) / delta;
+ bps = (xs->rcvd - xs->lastrcvd) / delta;
snprintf(str, sizeof str, "%sps", stat_bytes((off_t)bps));
}
return (str);