aboutsummaryrefslogtreecommitdiff
path: root/coreutils/sort.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-11-16 12:39:16 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-11-16 12:39:16 +0000
commit7c2db5c1988da00c101cc2aeb8767f18a1fe9eb9 (patch)
tree91c162970616efec52217652571a0b140601024e /coreutils/sort.c
parenta702457eac1d2b014f108f78605d7fb6424b5844 (diff)
downloadbusybox-w32-7c2db5c1988da00c101cc2aeb8767f18a1fe9eb9.tar.gz
busybox-w32-7c2db5c1988da00c101cc2aeb8767f18a1fe9eb9.tar.bz2
busybox-w32-7c2db5c1988da00c101cc2aeb8767f18a1fe9eb9.zip
- use standard-imposed constants some more
Diffstat (limited to 'coreutils/sort.c')
-rw-r--r--coreutils/sort.c4
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)
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 */