Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | From dc6bf2ae0835c6569b270e8e1f26a3173f3927d9 Mon Sep 17 00:00:00 2001 |
| 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
| 3 | Date: Wed, 4 Dec 2019 13:14:01 +0100 |
| 4 | Subject: [PATCH] analyze.l: add missing string format |
| 5 | |
| 6 | Upstream-Status: Submitted [https://github.com/legionus/kbd/pull/35] |
| 7 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
| 8 | --- |
| 9 | src/libkeymap/analyze.l | 2 +- |
| 10 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 11 | |
| 12 | diff --git a/src/libkeymap/analyze.l b/src/libkeymap/analyze.l |
| 13 | index 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 | |