gio/tests: Fix for -Werror=format-security
authorRico Tzschichholz <ricotz@t-online.de>
Mon, 21 Nov 2011 22:06:15 +0000 (23:06 +0100)
committerRico Tzschichholz <ricotz@t-online.de>
Mon, 21 Nov 2011 22:06:15 +0000 (23:06 +0100)
gio/tests/test-pipe-unix.c

index a3fdba4..f4e07a4 100644 (file)
@@ -64,7 +64,7 @@ test_pipe (GInputStream  **is,
       int e = errno;
 
       g_set_error (error, G_IO_ERROR, g_io_error_from_errno (e),
-                   g_strerror (e));
+                   "%s", g_strerror (e));
       return FALSE;
     }