From e3fe25669227944381119852b89beead267c604c Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Fri, 13 Jan 2012 23:18:01 +0100 Subject: [PATCH] gio: Fix for -Wformat-security --- gio/gresourcefile.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gio/gresourcefile.c b/gio/gresourcefile.c index 829932788..a261098a9 100644 --- a/gio/gresourcefile.c +++ b/gio/gresourcefile.c @@ -454,6 +454,7 @@ g_resource_file_query_info (GFile *file, } else g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, + "%s", my_error->message); g_clear_error (&my_error); return FALSE; @@ -554,6 +555,7 @@ g_resource_file_read (GFile *file, } else g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, + "%s", my_error->message); g_clear_error (&my_error); return NULL;