summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/sysinstall/dist.c2
-rw-r--r--usr.sbin/sysinstall/package.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/dist.c b/usr.sbin/sysinstall/dist.c
index 3a675a0..99ae760 100644
--- a/usr.sbin/sysinstall/dist.c
+++ b/usr.sbin/sysinstall/dist.c
@@ -761,7 +761,7 @@ distExtract(char *parent, Distribution *me)
if (seconds != last_msg) {
last_msg = seconds;
msgInfo("%10d bytes read from %s dist, chunk %2d of %2d @ %.1f KB/sec.",
- total, dist, chunk + 1, numchunks, (total / seconds) / 1024.0);
+ total, dist, chunk + 1, numchunks, (total / seconds) / 1000.0);
}
}
fclose(fp);
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