From 1b9d7c9aa951343f1805d0a7efbfa213611e9e01 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sat, 3 Jun 2006 22:45:37 +0000 Subject: - 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 --- util-linux/fdformat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util-linux/fdformat.c') diff --git a/util-linux/fdformat.c b/util-linux/fdformat.c index 5772e1309..691280833 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); } -- cgit v1.2.3