aboutsummaryrefslogtreecommitdiff
path: root/lib/syslog_async.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/syslog_async.c')
-rw-r--r--lib/syslog_async.c2
1 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;
}

Return to:

Send suggestions and report system problems to the System administrator.