diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-11-16 12:39:16 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-11-16 12:39:16 +0000 |
commit | 7c2db5c1988da00c101cc2aeb8767f18a1fe9eb9 (patch) | |
tree | 91c162970616efec52217652571a0b140601024e /coreutils/sort.c | |
parent | a702457eac1d2b014f108f78605d7fb6424b5844 (diff) | |
download | busybox-7c2db5c1988da00c101cc2aeb8767f18a1fe9eb9.tar.gz |
- use standard-imposed constants some more
Diffstat (limited to 'coreutils/sort.c')
-rw-r--r-- | coreutils/sort.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) for (i = 1; i < linecount; i++) if (compare_keys(&lines[i-1], &lines[i]) > j) { fprintf(stderr, "Check line %d\n", i); - return 1; + return EXIT_FAILURE; } - return 0; + return EXIT_SUCCESS; } #endif /* Perform the actual sort */ |