diff options
-rw-r--r-- | lib/syslog_async.c | 2 | ||||
-rw-r--r-- | src/main.c | 10 |
2 files changed, 7 insertions, 5 deletions
diff --git a/lib/syslog_async.c b/lib/syslog_async.c index 53c8f2e0..8bc57982 100644 --- a/lib/syslog_async.c +++ b/lib/syslog_async.c @@ -329,2 +329,4 @@ static int find_percent_m(const char *format) return p - format; + else + p++; return -1; @@ -1147,3 +1147,3 @@ open_strecho (int daemon_mode) #else - rc = mu_stdio_stream_create (&mf_strecho, MU_STDERR_FD, 0); + rc = mu_stdio_stream_create(&mf_strecho, MU_STDERR_FD, 0); #endif @@ -1151,6 +1151,6 @@ open_strecho (int daemon_mode) if (rc) { - mu_diag_output (MU_LOG_CRIT, - _("cannot create echo output stream: %s"), - mu_strerror (rc)); - exit (EX_UNAVAILABLE); + mu_diag_output(MU_LOG_CRIT, + _("cannot create echo output stream: %s"), + mu_strerror(rc)); + exit(EX_UNAVAILABLE); } |