From cb665093b81a5547df3fdd6cd94cce2e05e5235e Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Sat, 8 Feb 2003 22:33:53 +0000 Subject: Patch from Nick Fedchik, CONFIG_SYSLOGD should determine getty's behaviour. --- loginutils/getty.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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 -- cgit v1.2.3