summaryrefslogtreecommitdiff
path: root/src/comm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/comm.c')
-rw-r--r--src/comm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/comm.c b/src/comm.c
index 7da3de20b..00b14357c 100644
--- a/src/comm.c
+++ b/src/comm.c
@@ -257,11 +257,11 @@ main (int argc, char **argv)
case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
- usage (1);
+ usage (EXIT_FAILURE);
}
if (optind + 2 != argc)
- usage (1);
+ usage (EXIT_FAILURE);
exit (compare_files (argv + optind) == 0
? EXIT_SUCCESS : EXIT_FAILURE);