Try to make indent formatting less horrible
[oweals/busybox.git] / libbb / setup_environment.c
index 30d317cea0f3fee156e3176a2dfc3b4fb0ca9b73..b18f8967e048c4c9716785c8d3b68b012571110b 100644 (file)
 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