]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: logs: typo: simgle => single
authorJim Freeman <sovrajn@gmail.com>
Sat, 15 Apr 2017 14:01:59 +0000 (08:01 -0600)
committerWilly Tarreau <w@1wt.eu>
Tue, 18 Apr 2017 12:52:07 +0000 (14:52 +0200)
Typo in error message. Backport to 1.7.

src/log.c

index be1ebdca116b64e658020f49f5149aa5a7876986..003e42bdf5f69dfc6931067f7efc589b7a01709b 100644 (file)
--- 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;