[BusyBox-cvs] busybox/loginutils getty.c,1.6,1.7

Glenn McGrath bug1 at busybox.net
Sat Feb 8 22:33:57 UTC 2003


Update of /var/cvs/busybox/loginutils
In directory winder:/tmp/cvs-serv17207/loginutils

Modified Files:
	getty.c 
Log Message:
Patch from Nick Fedchik, CONFIG_SYSLOGD should determine getty's 
behaviour. 


Index: getty.c
===================================================================
RCS file: /var/cvs/busybox/loginutils/getty.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- getty.c	21 Jan 2003 20:55:55 -0000	1.6
+++ getty.c	8 Feb 2003 22:33:53 -0000	1.7
@@ -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
 




More information about the busybox-cvs mailing list