projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a486f46
)
Patch from Nick Fedchik, CONFIG_SYSLOGD should determine getty's
author
Glenn L McGrath
<bug1@ihug.co.nz>
Sat, 8 Feb 2003 22:33:53 +0000
(22:33 -0000)
committer
Glenn L McGrath
<bug1@ihug.co.nz>
Sat, 8 Feb 2003 22:33:53 +0000
(22:33 -0000)
behaviour.
loginutils/getty.c
patch
|
blob
|
history
diff --git
a/loginutils/getty.c
b/loginutils/getty.c
index 1b9c6ac4d61a1aaa832ed75278efe974831dd6c9..b8be8b60346f6afea2a95af9869bee2e27bf22d2 100644
(file)
--- 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