Patch from Nick Fedchik, CONFIG_SYSLOGD should determine getty's

behaviour.
This commit is contained in:
Glenn L McGrath 2003-02-08 22:33:53 +00:00
parent a486f469cb
commit cb665093b8

View File

@ -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