aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/syslog_async.c2
-rw-r--r--src/main.c0
2 files changed, 2 insertions, 0 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
@@ -327,6 +327,8 @@ static int find_percent_m(const char *format)
while (*p && (p = strchr(p, '%')))
if (p[1] == 'm')
return p - format;
+ else
+ p++;
return -1;
}
diff --git a/src/main.c b/src/main.c
index d99183a9..090be692 100644
--- a/src/main.c
+++ b/src/main.c

Return to:

Send suggestions and report system problems to the System administrator.