aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-12-14 01:32:11 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-12-14 01:32:11 +0100
commit6be918d0ae15ca5f8b3b3879c496205bc8a11c2b (patch)
treed28cb19593c0afb6a6ee71ad1e9f4c77f7471ade
parent78fcec4dc700dde189b0149ddfb53d321c4c75be (diff)
downloadbusybox-w32-6be918d0ae15ca5f8b3b3879c496205bc8a11c2b.tar.gz
busybox-w32-6be918d0ae15ca5f8b3b3879c496205bc8a11c2b.tar.bz2
busybox-w32-6be918d0ae15ca5f8b3b3879c496205bc8a11c2b.zip
init: make FEATURE_EXTRA_QUIET more consistent. +1 byte
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--init/init.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/init/init.c b/init/init.c
index 14136859f..3748a1507 100644
--- a/init/init.c
+++ b/init/init.c
@@ -86,7 +86,6 @@ static const char *log_console = VC_5;
86enum { 86enum {
87 L_LOG = 0x1, 87 L_LOG = 0x1,
88 L_CONSOLE = 0x2, 88 L_CONSOLE = 0x2,
89 MAYBE_CONSOLE = L_CONSOLE * !ENABLE_FEATURE_EXTRA_QUIET,
90#ifndef RB_HALT_SYSTEM 89#ifndef RB_HALT_SYSTEM
91 RB_HALT_SYSTEM = 0xcdef0123, /* FIXME: this overflows enum */ 90 RB_HALT_SYSTEM = 0xcdef0123, /* FIXME: this overflows enum */
92 RB_ENABLE_CAD = 0x89abcdef, 91 RB_ENABLE_CAD = 0x89abcdef,
@@ -856,8 +855,10 @@ int init_main(int argc UNUSED_PARAM, char **argv)
856 if (argv[1]) 855 if (argv[1])
857 xsetenv("RUNLEVEL", argv[1]); 856 xsetenv("RUNLEVEL", argv[1]);
858 857
858#if ENABLE_FEATURE_EXTRA_QUIET
859 /* Hello world */ 859 /* Hello world */
860 message(MAYBE_CONSOLE | L_LOG, "init started: %s", bb_banner); 860 message(L_CONSOLE | L_LOG, "init started: %s", bb_banner);
861#endif
861 862
862 /* Make sure there is enough memory to do something useful. */ 863 /* Make sure there is enough memory to do something useful. */
863 if (ENABLE_SWAPONOFF) { 864 if (ENABLE_SWAPONOFF) {