Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 1 | From a4857911ece5ebfcdef42aee4c070eb216f39597 Mon Sep 17 00:00:00 2001 |
| 2 | From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= <anibal.limon@linux.intel.com> |
| 3 | Date: Fri, 13 May 2016 11:40:13 -0500 |
| 4 | Subject: [PATCH] modules/files.c: parse_field fix string formating in |
| 5 | g_warnings |
| 6 | MIME-Version: 1.0 |
| 7 | Content-Type: text/plain; charset=UTF-8 |
| 8 | Content-Transfer-Encoding: 8bit |
| 9 | |
| 10 | [YOCTO #9547] |
| 11 | |
| 12 | Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> |
| 13 | |
| 14 | Upstream-Status: Pending |
| 15 | --- |
| 16 | modules/files.c | 2 +- |
| 17 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 18 | |
| 19 | diff --git a/modules/files.c b/modules/files.c |
| 20 | index 4ef0a57..35eafc9 100644 |
| 21 | --- a/modules/files.c |
| 22 | +++ b/modules/files.c |
| 23 | @@ -534,7 +534,7 @@ parse_field(const struct format_specifier *format, GValue *value, |
| 24 | string, &err); |
| 25 | if (ret == FALSE) { |
| 26 | g_assert(err != NULL); |
| 27 | - g_warning(lu_strerror(err)); |
| 28 | + g_warning(lu_strerror(err), NULL); |
| 29 | lu_error_free(&err); |
| 30 | } |
| 31 | return ret; |
| 32 | -- |
| 33 | 2.1.4 |
| 34 | |