]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
parser_bison: remove leftover utf-8 character in error
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 31 Aug 2025 21:37:51 +0000 (23:37 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 1 Sep 2025 20:05:00 +0000 (22:05 +0200)
replace "‘" (UTF-8, 0xe280 0x98) with "'" (ASCII 0x27).

Fixes: c92ec3b21979 ("src: remove utf-8 character in printf lines")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/parser_bison.y

index 3fa75197d1cb05a19fb2dad0b48967da22d9cd20..98d5f2ba90a525fb47c54a012fc634337a935f51 100644 (file)
@@ -4342,7 +4342,7 @@ variable_expr             :       '$'     identifier
                                        sym = symbol_lookup_fuzzy(scope, $2);
                                        if (sym) {
                                                erec_queue(error(&@2, "unknown identifier '%s'; "
-                                                                     "did you mean identifier '%s?",
+                                                                     "did you mean identifier '%s'?",
                                                                      $2, sym->identifier),
                                                           state->msgs);
                                        } else {