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:
fa52373
)
gio/tests: Fix build with -Werror=format-security
author
Rico Tzschichholz
<ricotz@t-online.de>
Sat, 27 Oct 2012 10:12:29 +0000
(12:12 +0200)
committer
Rico Tzschichholz
<ricotz@t-online.de>
Sat, 27 Oct 2012 10:12:29 +0000
(12:12 +0200)
gio/tests/gdbus-peer-object-manager.c
patch
|
blob
|
history
diff --git
a/gio/tests/gdbus-peer-object-manager.c
b/gio/tests/gdbus-peer-object-manager.c
index
3689b93
..
89537cc
100644
(file)
--- a/
gio/tests/gdbus-peer-object-manager.c
+++ b/
gio/tests/gdbus-peer-object-manager.c
@@
-221,7
+221,7
@@
setup (Test *test,
if (socketpair (AF_UNIX, SOCK_STREAM, 0, pair) < 0)
{
g_set_error (&error, G_IO_ERROR, g_io_error_from_errno (errno),
- g_strerror (errno));
+
"%s",
g_strerror (errno));
g_assert_no_error (error);
}