projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8735f53
)
gio: Fix for -Wformat-security
author
Rico Tzschichholz
<ricotz@t-online.de>
Fri, 13 Jan 2012 22:18:01 +0000
(23:18 +0100)
committer
Rico Tzschichholz
<ricotz@t-online.de>
Fri, 13 Jan 2012 22:18:01 +0000
(23:18 +0100)
gio/gresourcefile.c
patch
|
blob
|
history
diff --git
a/gio/gresourcefile.c
b/gio/gresourcefile.c
index
8299327
..
a261098
100644
(file)
--- 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;