package/busybox: revert config defaults inadvertently changed in [28513] (thanks...
[openwrt.git] / package / busybox / patches / 000-upstream-syslogd.patch
1 --- a/sysklogd/syslogd.c
2 +++ b/sysklogd/syslogd.c
3 @@ -278,7 +278,7 @@ static void parse_syslogdcfg(const char
4 parser_t *parser;
5
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);
9 if (!parser)
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) {
16 - log_to_shmem(msg);
17 + log_to_shmem(G.printbuf);
18 return;
19 }
20 #endif
This page took 0.041637 seconds and 5 git commands to generate.