Small typofix for burncd
Joachim Strömbergson <[email protected]> Mon, 11 Nov 2002 20:34:47 +0100
| Newsgroups | gmane.os.freebsd.devel.audit |
|---|---|
| Organization | Strömbergson Intergalactic AB |
| Message-ID | <[email protected]> |
Aloha!
Included with this mail is a short fix for burncd
(/usr/src/usr.sbin/burncd). The fix is simply a pedantic change from "K"
to "k" for the prefix "kilo". Would appreciate comments on the patch.
--
Med vänlig hälsning, Cheers!
Joachim Strömbergson
============================================================================
Joachim Strömbergson - ASIC designer, nice to *cute* animals.
snail: phone: mail & web:
Sävenäsgatan 5A +46 31 - 27 98 47 [email protected]
416 72 Göteborg +46 733 75 97 02 www.ludd.luth.se/~watchman
============================================================================
udiff.txt
(text/plain, 1.1 KB)
--- /usr/src/usr.sbin/burncd/burncd.c Sun Apr 7 17:55:33 2002
+++ burncd.c Mon Nov 11 20:29:08 2002
@@ -326,7 +326,7 @@
roundup_blocks(&tracks[notracks]))
pad = 1;
fprintf(stderr,
- "adding type 0x%02x file %s size %d KB %d blocks %s\n",
+ "adding type 0x%02x file %s size %d kB %d blocks %s\n",
tracks[notracks].block_type, name, (int)sb.st_size/1024,
roundup_blocks(&tracks[notracks]),
pad ? "(0 padded)" : "");
@@ -484,7 +484,7 @@
fprintf(stderr, "writing from stdin\n");
else
fprintf(stderr,
- "writing from file %s size %d KB\n",
+ "writing from file %s size %d kB\n",
track_info->file_name, filesize);
}
size = 0;
@@ -511,12 +511,12 @@
if (!quiet) {
int pct;
- fprintf(stderr, "written this track %d KB", size/1024);
+ fprintf(stderr, "written this track %d kB", size/1024);
if (track_info->file != STDIN_FILENO && filesize) {
pct = (size / 1024) * 100 / filesize;
fprintf(stderr, " (%d%%)", pct);
}
- fprintf(stderr, " total %d KB\r", tot_size/1024);
+ fprintf(stderr, " total %d kB\r", tot_size/1024);
}
if (size >= track_info->file_size)
break;