]> git.pld-linux.org Git - packages/busybox.git/blob - busybox-1.19.2-syslogd.patch
- patches from upstream
[packages/busybox.git] / busybox-1.19.2-syslogd.patch
1 --- busybox-1.19.2/sysklogd/syslogd.c
2 +++ busybox-1.19.2-syslogd/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.022357 seconds and 3 git commands to generate.