diff options
Diffstat (limited to 'coreutils/cmp.c')
-rw-r--r-- | coreutils/cmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/cmp.c b/coreutils/cmp.c index d26c3db8c..d0d976997 100644 --- a/coreutils/cmp.c +++ b/coreutils/cmp.c | |||
@@ -31,7 +31,7 @@ static FILE *cmp_xfopen_input(const char * const filename) | |||
31 | return fp; | 31 | return fp; |
32 | } | 32 | } |
33 | 33 | ||
34 | exit(bb_default_error_retval); /* We already output an error message. */ | 34 | exit(xfunc_error_retval); /* We already output an error message. */ |
35 | } | 35 | } |
36 | 36 | ||
37 | static const char fmt_eof[] = "cmp: EOF on %s\n"; | 37 | static const char fmt_eof[] = "cmp: EOF on %s\n"; |
@@ -52,7 +52,7 @@ int cmp_main(int argc, char **argv) | |||
52 | unsigned opt; | 52 | unsigned opt; |
53 | int retval = 0; | 53 | int retval = 0; |
54 | 54 | ||
55 | bb_default_error_retval = 2; /* 1 is returned if files are different. */ | 55 | xfunc_error_retval = 2; /* 1 is returned if files are different. */ |
56 | 56 | ||
57 | opt = bb_getopt_ulflags(argc, argv, opt_chars); | 57 | opt = bb_getopt_ulflags(argc, argv, opt_chars); |
58 | 58 | ||