summaryrefslogtreecommitdiff
path: root/networking/telnetd.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/telnetd.c')
-rw-r--r--networking/telnetd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/telnetd.c b/networking/telnetd.c
index 59d609b..ccf3289 100644
--- a/networking/telnetd.c
+++ b/networking/telnetd.c
@@ -452,7 +452,7 @@ int telnetd_main(int argc UNUSED_PARAM, char **argv)
}
/* Redirect log to syslog early, if needed */
if (IS_INETD || !(opt & OPT_FOREGROUND)) {
- openlog(applet_name, 0, LOG_USER);
+ openlog(applet_name, LOG_PID, LOG_DAEMON);
logmode = LOGMODE_SYSLOG;
}
USE_FEATURE_TELNETD_STANDALONE(