From: Glenn L McGrath Date: Sat, 8 Feb 2003 22:33:53 +0000 (-0000) Subject: Patch from Nick Fedchik, CONFIG_SYSLOGD should determine getty's X-Git-Tag: 1_00_pre1~206 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cb665093b81a5547df3fdd6cd94cce2e05e5235e;p=oweals%2Fbusybox.git Patch from Nick Fedchik, CONFIG_SYSLOGD should determine getty's behaviour. --- diff --git a/loginutils/getty.c b/loginutils/getty.c index 1b9c6ac4d..b8be8b603 100644 --- a/loginutils/getty.c +++ b/loginutils/getty.c @@ -32,13 +32,10 @@ #define _PATH_LOGIN "/bin/login" -#ifdef linux + /* If USE_SYSLOG is undefined all diagnostics go directly to /dev/console. */ +#ifdef CONFIG_SYSLOGD #include #define USE_SYSLOG -#endif - - /* If USE_SYSLOG is undefined all diagnostics go directly to /dev/console. */ -#ifdef USE_SYSLOG #include #endif