diff options
Diffstat (limited to 'coreutils/od_bloaty.c')
-rw-r--r-- | coreutils/od_bloaty.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/coreutils/od_bloaty.c b/coreutils/od_bloaty.c index 4cae0c529..e9c071f3a 100644 --- a/coreutils/od_bloaty.c +++ b/coreutils/od_bloaty.c | |||
@@ -536,7 +536,7 @@ check_and_close(void) | |||
536 | } | 536 | } |
537 | 537 | ||
538 | if (ferror(stdout)) { | 538 | if (ferror(stdout)) { |
539 | bb_error_msg_and_die(bb_msg_write_error); | 539 | bb_simple_error_msg_and_die(bb_msg_write_error); |
540 | } | 540 | } |
541 | } | 541 | } |
542 | 542 | ||
@@ -841,7 +841,7 @@ skip(off_t n_skip) | |||
841 | } | 841 | } |
842 | 842 | ||
843 | if (n_skip) | 843 | if (n_skip) |
844 | bb_error_msg_and_die("can't skip past end of combined input"); | 844 | bb_simple_error_msg_and_die("can't skip past end of combined input"); |
845 | } | 845 | } |
846 | 846 | ||
847 | 847 | ||
@@ -1308,10 +1308,10 @@ int od_main(int argc UNUSED_PARAM, char **argv) | |||
1308 | pseudo_start = o2; | 1308 | pseudo_start = o2; |
1309 | argv[1] = NULL; | 1309 | argv[1] = NULL; |
1310 | } else { | 1310 | } else { |
1311 | bb_error_msg_and_die("the last two arguments must be offsets"); | 1311 | bb_simple_error_msg_and_die("the last two arguments must be offsets"); |
1312 | } | 1312 | } |
1313 | } else { /* >3 args */ | 1313 | } else { /* >3 args */ |
1314 | bb_error_msg_and_die("too many arguments"); | 1314 | bb_simple_error_msg_and_die("too many arguments"); |
1315 | } | 1315 | } |
1316 | 1316 | ||
1317 | if (pseudo_start >= 0) { | 1317 | if (pseudo_start >= 0) { |
@@ -1332,7 +1332,7 @@ int od_main(int argc UNUSED_PARAM, char **argv) | |||
1332 | if (option_mask32 & OPT_N) { | 1332 | if (option_mask32 & OPT_N) { |
1333 | end_offset = n_bytes_to_skip + max_bytes_to_format; | 1333 | end_offset = n_bytes_to_skip + max_bytes_to_format; |
1334 | if (end_offset < n_bytes_to_skip) | 1334 | if (end_offset < n_bytes_to_skip) |
1335 | bb_error_msg_and_die("SKIP + SIZE is too large"); | 1335 | bb_simple_error_msg_and_die("SKIP + SIZE is too large"); |
1336 | } | 1336 | } |
1337 | 1337 | ||
1338 | if (G.n_specs == 0) { | 1338 | if (G.n_specs == 0) { |
@@ -1389,7 +1389,7 @@ int od_main(int argc UNUSED_PARAM, char **argv) | |||
1389 | dump(n_bytes_to_skip, end_offset); | 1389 | dump(n_bytes_to_skip, end_offset); |
1390 | 1390 | ||
1391 | if (fclose(stdin)) | 1391 | if (fclose(stdin)) |
1392 | bb_perror_msg_and_die(bb_msg_standard_input); | 1392 | bb_simple_perror_msg_and_die(bb_msg_standard_input); |
1393 | 1393 | ||
1394 | return G.exit_code; | 1394 | return G.exit_code; |
1395 | } | 1395 | } |