Be consistent with other utilities in spelling "Kbytes". (Actually,
there even was one of them about ten lines above in the same file.) Reminded by: joerg's commit to usr.bin/ftp/ftp.c rev 1.9
This commit is contained in:
parent
00411e3f12
commit
e5ed1f5994
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=28396
@ -24,7 +24,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
/* $Id: main.c,v 1.41 1997/07/25 19:35:44 wollman Exp $ */
|
||||
/* $Id: main.c,v 1.42 1997/08/05 20:18:39 ache Exp $ */
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
@ -338,7 +338,7 @@ display(struct fetch_state *fs, off_t size, ssize_t n)
|
||||
fprintf (stderr, " (%.0f bytes/s)\n", d);
|
||||
else {
|
||||
d /=1024;
|
||||
fprintf (stderr, " (%.2f kB/s)\n", d);
|
||||
fprintf (stderr, " (%.2f Kbytes/s)\n", d);
|
||||
}
|
||||
free(s);
|
||||
init = 0;
|
||||
@ -356,7 +356,7 @@ display(struct fetch_state *fs, off_t size, ssize_t n)
|
||||
else if (size > 0)
|
||||
fprintf (stderr, "\r%s: %2qd%%", s, (quad_t)100*bytes/size);
|
||||
else
|
||||
fprintf (stderr, "\r%s: %qd kB", s, (quad_t)bytes/1024);
|
||||
fprintf (stderr, "\r%s: %qd Kbytes", s, (quad_t)bytes/1024);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user