From: Jim Freeman Date: Sat, 15 Apr 2017 14:01:59 +0000 (-0600) Subject: CLEANUP: logs: typo: simgle => single X-Git-Tag: v1.8-dev2~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2278c8bbbee63ee75c8e3e97efd6828c2083d89;p=thirdparty%2Fhaproxy.git CLEANUP: logs: typo: simgle => single Typo in error message. Backport to 1.7. --- diff --git a/src/log.c b/src/log.c index be1ebdca11..003e42bdf5 100644 --- a/src/log.c +++ b/src/log.c @@ -575,7 +575,7 @@ int parse_logformat_string(const char *fmt, struct proxy *curproxy, struct list cformat = LF_TEXT; pformat = LF_TEXT; /* finally we include the previous char as well */ sp = str - 1; /* send both the '%' and the current char */ - memprintf(err, "unexpected variable name near '%c' at position %d line : '%s'. Maybe you want to write a simgle '%%', use the syntax '%%%%'", + memprintf(err, "unexpected variable name near '%c' at position %d line : '%s'. Maybe you want to write a single '%%', use the syntax '%%%%'", *str, (int)(str - backfmt), fmt); return 0;