aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/init/init.c b/init/init.c
index 5c7efe210..a196ab3ed 100644
--- a/init/init.c
+++ b/init/init.c
@@ -106,7 +106,7 @@ enum {
106#endif 106#endif
107}; 107};
108 108
109static const char * const environment[] = { 109static const char *const environment[] = {
110 "HOME=/", 110 "HOME=/",
111 bb_PATH_root_path, 111 bb_PATH_root_path,
112 "SHELL=/bin/sh", 112 "SHELL=/bin/sh",
@@ -457,7 +457,7 @@ static pid_t run(const struct init_action *a)
457 457
458#if !defined(__UCLIBC__) || defined(__ARCH_HAS_MMU__) 458#if !defined(__UCLIBC__) || defined(__ARCH_HAS_MMU__)
459 if (a->action & ASKFIRST) { 459 if (a->action & ASKFIRST) {
460 static const char press_enter[] = 460 static const char press_enter[] ALIGN1 =
461#ifdef CUSTOMIZED_BANNER 461#ifdef CUSTOMIZED_BANNER
462#include CUSTOMIZED_BANNER 462#include CUSTOMIZED_BANNER
463#endif 463#endif
@@ -923,7 +923,7 @@ int init_main(int argc, char **argv)
923 chdir("/"); 923 chdir("/");
924 setsid(); 924 setsid();
925 { 925 {
926 const char * const *e; 926 const char *const *e;
927 /* Make sure environs is set to something sane */ 927 /* Make sure environs is set to something sane */
928 for (e = environment; *e; e++) 928 for (e = environment; *e; e++)
929 putenv((char *) *e); 929 putenv((char *) *e);