Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2003-02-09 01:33:53 +0300
committerGlenn L McGrath <bug1@ihug.co.nz>2003-02-09 01:33:53 +0300
commitcb665093b81a5547df3fdd6cd94cce2e05e5235e (patch)
tree8343ebbbb7c8d132aa36078046927648a4da99ac /loginutils
parenta486f469cb6c290db5ba170bd9eb2607e48967d5 (diff)
Patch from Nick Fedchik, CONFIG_SYSLOGD should determine getty's
behaviour.
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/getty.c7
1 files 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 <sys/param.h>
#define USE_SYSLOG
-#endif
-
- /* If USE_SYSLOG is undefined all diagnostics go directly to /dev/console. */
-#ifdef USE_SYSLOG
#include <syslog.h>
#endif