- 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
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user