aboutsummaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-11-18 05:43:05 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-11-18 05:43:05 +0000
commit70ab28f90776de54cd136a411b2914b1b88cc3de (patch)
tree29fa4f8623d91ff11ade01416f7d0ac0ae5d09ee /sysklogd
parentfbe5f39f0fe0439678581fdad153f1df437f395d (diff)
downloadbusybox-70ab28f90776de54cd136a411b2914b1b88cc3de.tar.gz
busybox-70ab28f90776de54cd136a411b2914b1b88cc3de.tar.bz2
syslogd: use DEV_CONSOLE consistently
init: remove obsolete comment
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/syslogd.c2
1 files changed, 1 insertions, 1 deletions
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);