1 --- a/sysklogd/syslogd.c
2 +++ b/sysklogd/syslogd.c
3 @@ -278,7 +278,7 @@ static void parse_syslogdcfg(const char
6 parser = config_open2(file ? file : "/etc/syslog.conf",
7 - file ? xfopen_for_read : fopen_or_warn_stdin);
8 + file ? xfopen_for_read : fopen_for_read);
10 /* didn't find default /etc/syslog.conf */
11 /* proceed as if we built busybox without config support */
12 @@ -678,7 +678,7 @@ static void timestamp_and_log(int pri, c
13 if (LOG_PRI(pri) < G.logLevel) {
14 #if ENABLE_FEATURE_IPC_SYSLOG
15 if ((option_mask32 & OPT_circularlog) && G.shbuf) {
17 + log_to_shmem(G.printbuf);