diff options
author | Glenn L McGrath | 2003-05-26 14:07:50 +0000 |
---|---|---|
committer | Glenn L McGrath | 2003-05-26 14:07:50 +0000 |
commit | 393183dccc4d100366972bdbbdc6e03a77839120 (patch) | |
tree | d2e94dac0f1f5da5cb3ecb927b78c4c2a02f4ea6 /libbb/setup_environment.c | |
parent | ddfe18df75c15be4a2aadddb241c3b86b1e2968a (diff) | |
download | busybox-393183dccc4d100366972bdbbdc6e03a77839120.zip busybox-393183dccc4d100366972bdbbdc6e03a77839120.tar.gz |
Vodz, last_patch_86
Diffstat (limited to 'libbb/setup_environment.c')
-rw-r--r-- | libbb/setup_environment.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/setup_environment.c b/libbb/setup_environment.c index 30d317c..b18f896 100644 --- a/libbb/setup_environment.c +++ b/libbb/setup_environment.c @@ -45,13 +45,13 @@ static void xsetenv ( const char *key, const char *value ) { if ( setenv ( key, value, 1 )) - bb_error_msg_and_die ( "out of memory" ); + bb_error_msg_and_die (bb_msg_memory_exhausted); } void setup_environment ( const char *shell, int loginshell, int changeenv, const struct passwd *pw ) { if ( loginshell ) { - char *term; + const char *term; /* Change the current working directory to be the home directory * of the user. It is a fatal error for this process to be unable |