summaryrefslogtreecommitdiff
path: root/coreutils/cmp.c
diff options
context:
space:
mode:
authorDenis Vlasenko2006-10-03 20:28:06 +0000
committerDenis Vlasenko2006-10-03 20:28:06 +0000
commit40920825d59874cf285390434486e88c8498d2d8 (patch)
tree1bf7d7300ac410608a50b2c402966d492373ff24 /coreutils/cmp.c
parentb6332248ca4d781b4142fb9b6fe7e97a4a9ad59d (diff)
downloadbusybox-40920825d59874cf285390434486e88c8498d2d8.zip
busybox-40920825d59874cf285390434486e88c8498d2d8.tar.gz
rename bb_default_error_retval -> xfunc_error_retval
Diffstat (limited to 'coreutils/cmp.c')
-rw-r--r--coreutils/cmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/cmp.c b/coreutils/cmp.c
index d26c3db..d0d9769 100644
--- a/coreutils/cmp.c
+++ b/coreutils/cmp.c
@@ -31,7 +31,7 @@ static FILE *cmp_xfopen_input(const char * const filename)
return fp;
}
- exit(bb_default_error_retval); /* We already output an error message. */
+ exit(xfunc_error_retval); /* We already output an error message. */
}
static const char fmt_eof[] = "cmp: EOF on %s\n";
@@ -52,7 +52,7 @@ int cmp_main(int argc, char **argv)
unsigned opt;
int retval = 0;
- bb_default_error_retval = 2; /* 1 is returned if files are different. */
+ xfunc_error_retval = 2; /* 1 is returned if files are different. */
opt = bb_getopt_ulflags(argc, argv, opt_chars);