diff options
-rw-r--r-- | coreutils/mv.c | 2 | ||||
-rw-r--r-- | coreutils/od_bloaty.c | 2 | ||||
-rw-r--r-- | coreutils/sort.c | 4 | ||||
-rw-r--r-- | coreutils/split.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/coreutils/mv.c b/coreutils/mv.c index 5d0b51561..d8dc6c06b 100644 --- a/coreutils/mv.c +++ b/coreutils/mv.c | |||
@@ -58,7 +58,7 @@ int mv_main(int argc, char **argv) | |||
58 | if (argc == 2) { | 58 | if (argc == 2) { |
59 | dest_exists = cp_mv_stat(last, &dest_stat); | 59 | dest_exists = cp_mv_stat(last, &dest_stat); |
60 | if (dest_exists < 0) { | 60 | if (dest_exists < 0) { |
61 | return 1; | 61 | return EXIT_FAILURE; |
62 | } | 62 | } |
63 | 63 | ||
64 | if (!(dest_exists & 2)) { | 64 | if (!(dest_exists & 2)) { |
diff --git a/coreutils/od_bloaty.c b/coreutils/od_bloaty.c index 9655c2398..54029ff5b 100644 --- a/coreutils/od_bloaty.c +++ b/coreutils/od_bloaty.c | |||
@@ -1411,7 +1411,7 @@ int od_main(int argc, char **argv) | |||
1411 | /* skip over any unwanted header bytes */ | 1411 | /* skip over any unwanted header bytes */ |
1412 | skip(n_bytes_to_skip); | 1412 | skip(n_bytes_to_skip); |
1413 | if (!in_stream) | 1413 | if (!in_stream) |
1414 | return 1; | 1414 | return EXIT_FAILURE; |
1415 | 1415 | ||
1416 | pseudo_offset = (flag_pseudo_start ? pseudo_start - n_bytes_to_skip : 0); | 1416 | pseudo_offset = (flag_pseudo_start ? pseudo_start - n_bytes_to_skip : 0); |
1417 | 1417 | ||
diff --git a/coreutils/sort.c b/coreutils/sort.c index 313234675..1d6c59970 100644 --- a/coreutils/sort.c +++ b/coreutils/sort.c | |||
@@ -374,9 +374,9 @@ int sort_main(int argc, char **argv) | |||
374 | for (i = 1; i < linecount; i++) | 374 | for (i = 1; i < linecount; i++) |
375 | if (compare_keys(&lines[i-1], &lines[i]) > j) { | 375 | if (compare_keys(&lines[i-1], &lines[i]) > j) { |
376 | fprintf(stderr, "Check line %d\n", i); | 376 | fprintf(stderr, "Check line %d\n", i); |
377 | return 1; | 377 | return EXIT_FAILURE; |
378 | } | 378 | } |
379 | return 0; | 379 | return EXIT_SUCCESS; |
380 | } | 380 | } |
381 | #endif | 381 | #endif |
382 | /* Perform the actual sort */ | 382 | /* Perform the actual sort */ |
diff --git a/coreutils/split.c b/coreutils/split.c index 51a631c56..895a04b06 100644 --- a/coreutils/split.c +++ b/coreutils/split.c | |||
@@ -137,5 +137,5 @@ int split_main(int argc, char **argv) | |||
137 | src += to_write; | 137 | src += to_write; |
138 | } while (bytes_read); | 138 | } while (bytes_read); |
139 | } | 139 | } |
140 | return 0; | 140 | return EXIT_SUCCESS; |
141 | } | 141 | } |