From 7c2db5c1988da00c101cc2aeb8767f18a1fe9eb9 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 16 Nov 2007 12:39:16 +0000 Subject: - use standard-imposed constants some more --- coreutils/sort.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'coreutils/sort.c') 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 */ -- cgit v1.2.3