summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-06-03 22:45:37 +0000
committerBernhard Reutner-Fischer2006-06-03 22:45:37 +0000
commit1b9d7c9aa951343f1805d0a7efbfa213611e9e01 (patch)
treedc77d2e60bc693ce3408d10a41cd3b85ff3bfa82 /util-linux
parenta3d4bf38b0245cdf3551d59ca1a73bceb01abc0f (diff)
downloadbusybox-1b9d7c9aa951343f1805d0a7efbfa213611e9e01.zip
busybox-1b9d7c9aa951343f1805d0a7efbfa213611e9e01.tar.gz
- use bb_msg_{read,write}_error where appropriate.
text data bss dec hex filename 825015 9100 645216 1479331 1692a3 busybox.old 824919 9100 645216 1479235 169243 busybox
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/fdformat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/fdformat.c b/util-linux/fdformat.c
index 5772e13..6912808 100644
--- a/util-linux/fdformat.c
+++ b/util-linux/fdformat.c
@@ -133,7 +133,7 @@ int fdformat_main(int argc,char **argv)
print_and_flush("%3d\b\b\b", cyl);
if((read_bytes = safe_read(fd,data,n))!= n ) {
if(read_bytes < 0) {
- bb_perror_msg("Read: ");
+ bb_perror_msg(bb_msg_read_error);
}
bb_error_msg_and_die("Problem reading cylinder %d, expected %d, read %d", cyl, n, read_bytes);
}