summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/package.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>2001-04-08 20:42:52 +0000
committerjkh <jkh@FreeBSD.org>2001-04-08 20:42:52 +0000
commitab4549c73c054a888dca8fee10c7c62f57993d3f (patch)
treed0216f94ce9ed824248aaac30baccb7efadb30a5 /usr.sbin/sysinstall/package.c
parent2dea5ee6644879fa9c6ff4d0a371deacc27cfa0a (diff)
downloadFreeBSD-src-ab4549c73c054a888dca8fee10c7c62f57993d3f.zip
FreeBSD-src-ab4549c73c054a888dca8fee10c7c62f57993d3f.tar.gz
According with RFC 2330 ("Framework for IP Performance Metrics", from
Paxson et al, Status: Informational, May 1998), we should use "bits per second" and "k" as 1000 not 1024 for throughput measures. Submitted by: Eduardo Souza Machado da Silva <esms@acm.org>
Diffstat (limited to 'usr.sbin/sysinstall/package.c')
-rw-r--r--usr.sbin/sysinstall/package.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/package.c b/usr.sbin/sysinstall/package.c
index 36be0ae..eb468aa 100644
--- a/usr.sbin/sysinstall/package.c
+++ b/usr.sbin/sysinstall/package.c
@@ -207,7 +207,7 @@ package_extract(Device *dev, char *name, Boolean depended)
seconds = 1;
if (seconds != last_msg) {
last_msg = seconds;
- msgInfo("%10d bytes read from package %s @ %4.1f KBytes/second", tot, name, (tot / seconds) / 1024.0);
+ msgInfo("%10d bytes read from package %s @ %4.1f KBytes/second", tot, name, (tot / seconds) / 1000.0);
}
/* Write it out */
if (sigpipe_caught || write(pfd[1], buf, i) != i) {
OpenPOWER on IntegriCloud