summaryrefslogtreecommitdiff
path: root/cmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmp.c')
-rw-r--r--cmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmp.c b/cmp.c
index 98b747e..6b95544 100644
--- a/cmp.c
+++ b/cmp.c
@@ -54,7 +54,7 @@ int cmp_main(int argc, char **argv)
else
printf("%s %s differ: char %d, line %d\n", filename1, filename2,
char_pos, line_pos);
- return 1;
+ return EXIT_FAILURE;
}
char_pos++;
if (c1 == '\n')