diff options
Diffstat (limited to 'util-linux/fdformat.c')
-rw-r--r-- | util-linux/fdformat.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
133 | print_and_flush("%3d\b\b\b", cyl); | 133 | print_and_flush("%3d\b\b\b", cyl); |
134 | if((read_bytes = safe_read(fd,data,n))!= n ) { | 134 | if((read_bytes = safe_read(fd,data,n))!= n ) { |
135 | if(read_bytes < 0) { | 135 | if(read_bytes < 0) { |
136 | bb_perror_msg("Read: "); | 136 | bb_perror_msg(bb_msg_read_error); |
137 | } | 137 | } |
138 | bb_error_msg_and_die("Problem reading cylinder %d, expected %d, read %d", cyl, n, read_bytes); | 138 | bb_error_msg_and_die("Problem reading cylinder %d, expected %d, read %d", cyl, n, read_bytes); |
139 | } | 139 | } |