Codebase list kbd / d07a6cb
Cherry-pick upstream format-string fix Andreas Henriksson 4 years ago
2 changed file(s) with 23 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 From: Alexander Kanavin <alex.kanavin@gmail.com>
1 Date: Wed, 4 Dec 2019 13:14:01 +0100
2 Subject: analyze.l: add missing string format
3
4 Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
5 ---
6 src/libkeymap/analyze.l | 2 +-
7 1 file changed, 1 insertion(+), 1 deletion(-)
8
9 diff --git a/src/libkeymap/analyze.l b/src/libkeymap/analyze.l
10 index 9adcea7..e05e7e7 100644
11 --- a/src/libkeymap/analyze.l
12 +++ b/src/libkeymap/analyze.l
13 @@ -476,7 +476,7 @@ To to|To|TO
14
15 strerror_r(errno, buf, sizeof(buf));
16
17 - ERR(yyextra, buf);
18 + ERR(yyextra, "%s", buf);
19 return(ERROR);
20 }
21
44 Support-KT_DEAD2-diacritics.patch
55 Fix-build-warining-expected-char-but-argument-is-of-type-.patch
66 configure.ac-respect-user-CFLAGS.patch
7 analyze.l-add-missing-string-format.patch