blob: 8916fd9f5ee360915c9ab7078bc9bcffe078c994 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001From dc6bf2ae0835c6569b270e8e1f26a3173f3927d9 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Wed, 4 Dec 2019 13:14:01 +0100
4Subject: [PATCH] analyze.l: add missing string format
5
6Upstream-Status: Submitted [https://github.com/legionus/kbd/pull/35]
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8---
9 src/libkeymap/analyze.l | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/src/libkeymap/analyze.l b/src/libkeymap/analyze.l
13index e32ace6..de62f46 100644
14--- a/src/libkeymap/analyze.l
15+++ b/src/libkeymap/analyze.l
16@@ -463,7 +463,7 @@ To to|To|TO
17
18 strerror_r(errno, buf, sizeof(buf));
19
20- ERR(yyextra, buf);
21+ ERR(yyextra, "%s", buf);
22 return(ERROR);
23 }
24