Date: Mon, 9 Jun 1997 21:21:06 -0700 (PDT) From: josh@quick.net To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/3829: ftp 'Meg/s' -> 'Mbytes/s' Message-ID: <199706100421.VAA08075@jg.webmaster.com> Resent-Message-ID: <199706100430.VAA08147@hub.freebsd.org>
index | next in thread | raw e-mail
>Number: 3829
>Category: bin
>Synopsis: ftp 'Meg/s' -> 'Mbytes/s'
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Jun 9 21:30:01 PDT 1997
>Last-Modified:
>Originator: Josh Gilliam
>Organization:
>Release: FreeBSD 3.0-CURRENT i386
>Environment:
ftp.c rev 1.7
>Description:
To be consistent with 'Kbytes/s', 'Meg/s' should be changed to 'Mbytes/s'.
>How-To-Repeat:
grep Meg ftp.c
>Fix:
--- ftp.c.orig Fri Aug 23 02:33:32 1996
+++ ftp.c Mon Jun 9 20:53:07 1997
@@ -1164,7 +1164,7 @@
#define nz(x) ((x) == 0 ? 1 : (x))
bs = bytes / nz(s);
if(bs > ( 1024 * 1024 ))
- printf("%ld bytes %s in %.2f seconds (%.2f Meg/s)\n",
+ printf("%ld bytes %s in %.2f seconds (%.2f Mbytes/s)\n",
bytes, direction, s, bs / (1024. * 1024.));
else
printf("%ld bytes %s in %.2f seconds (%.2f Kbytes/s)\n",
>Audit-Trail:
>Unformatted:
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706100421.VAA08075>
