26 lines
751 B
Diff
26 lines
751 B
Diff
|
From 5c475898dd0d4087ee7bd9da7a850523b5cc707d Mon Sep 17 00:00:00 2001
|
||
|
From: Kalev Lember <klember@redhat.com>
|
||
|
Date: Wed, 25 Jul 2018 11:12:10 +0200
|
||
|
Subject: [PATCH] miner-fs: Fix the build with -Werror=format-security
|
||
|
|
||
|
---
|
||
|
src/miners/fs/tracker-power-upower.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/src/miners/fs/tracker-power-upower.c b/src/miners/fs/tracker-power-upower.c
|
||
|
index 0e229d1..5dc5e8a 100644
|
||
|
--- a/src/miners/fs/tracker-power-upower.c
|
||
|
+++ b/src/miners/fs/tracker-power-upower.c
|
||
|
@@ -250,7 +250,7 @@ tracker_power_new ()
|
||
|
object = g_initable_new (TRACKER_TYPE_POWER, NULL, &error, NULL);
|
||
|
|
||
|
if (error) {
|
||
|
- g_warning (error->message);
|
||
|
+ g_warning ("%s", error->message);
|
||
|
}
|
||
|
|
||
|
return object;
|
||
|
--
|
||
|
2.17.1
|
||
|
|