From 70ab28f90776de54cd136a411b2914b1b88cc3de Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 18 Nov 2007 05:43:05 +0000 Subject: syslogd: use DEV_CONSOLE consistently init: remove obsolete comment --- sysklogd/syslogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysklogd') diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index e3abcc7cb..5998732bd 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c @@ -299,7 +299,7 @@ static void log_locally(char *msg) | O_NOCTTY | O_APPEND | O_NONBLOCK); if (G.logFD < 0) { /* cannot open logfile? - print to /dev/console then */ - int fd = device_open(_PATH_CONSOLE, O_WRONLY | O_NOCTTY | O_NONBLOCK); + int fd = device_open(DEV_CONSOLE, O_WRONLY | O_NOCTTY | O_NONBLOCK); if (fd < 0) fd = 2; /* then stderr, dammit */ full_write(fd, msg, len); -- cgit v1.2.3