CLEANUP: logs: typo: simgle => single

Typo in error message. Backport to 1.7.
This commit is contained in:
Jim Freeman 2017-04-15 08:01:59 -06:00 committed by Willy Tarreau
parent dfacd69b94
commit a2278c8bbb

View File

@ -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;