diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-03 20:28:06 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-03 20:28:06 +0000 |
commit | 40920825d59874cf285390434486e88c8498d2d8 (patch) | |
tree | 1bf7d7300ac410608a50b2c402966d492373ff24 /coreutils/env.c | |
parent | b6332248ca4d781b4142fb9b6fe7e97a4a9ad59d (diff) | |
download | busybox-w32-40920825d59874cf285390434486e88c8498d2d8.tar.gz busybox-w32-40920825d59874cf285390434486e88c8498d2d8.tar.bz2 busybox-w32-40920825d59874cf285390434486e88c8498d2d8.zip |
rename bb_default_error_retval -> xfunc_error_retval
Diffstat (limited to 'coreutils/env.c')
-rw-r--r-- | coreutils/env.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/env.c b/coreutils/env.c index b42d90435..2af15a37e 100644 --- a/coreutils/env.c +++ b/coreutils/env.c | |||
@@ -26,7 +26,7 @@ | |||
26 | * - correct "-" option usage | 26 | * - correct "-" option usage |
27 | * - multiple "-u unsetenv" support | 27 | * - multiple "-u unsetenv" support |
28 | * - GNU long option support | 28 | * - GNU long option support |
29 | * - use bb_default_error_retval | 29 | * - use xfunc_error_retval |
30 | */ | 30 | */ |
31 | 31 | ||
32 | #include "busybox.h" | 32 | #include "busybox.h" |
@@ -82,7 +82,7 @@ int env_main(int argc, char** argv) | |||
82 | if (*argv) { | 82 | if (*argv) { |
83 | execvp(*argv, argv); | 83 | execvp(*argv, argv); |
84 | /* SUSv3-mandated exit codes. */ | 84 | /* SUSv3-mandated exit codes. */ |
85 | bb_default_error_retval = (errno == ENOENT) ? 127 : 126; | 85 | xfunc_error_retval = (errno == ENOENT) ? 127 : 126; |
86 | bb_perror_msg_and_die("%s", *argv); | 86 | bb_perror_msg_and_die("%s", *argv); |
87 | } | 87 | } |
88 | 88 | ||