[gtk+] gtk-encode-symbolic-svg: Fix build with -Werror=format-security



commit 45145c8c10fd6a568476e15808239a1af3a083f4
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Mon Aug 4 13:31:34 2014 +0200

    gtk-encode-symbolic-svg: Fix build with -Werror=format-security

 gtk/encodesymbolic.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/encodesymbolic.c b/gtk/encodesymbolic.c
index c8e6700..9f7d015 100644
--- a/gtk/encodesymbolic.c
+++ b/gtk/encodesymbolic.c
@@ -247,7 +247,7 @@ main (int argc, char **argv)
 
   if (argc < 3)
     {
-      g_printerr (g_option_context_get_help (context, FALSE, NULL));
+      g_printerr ("%s\n", g_option_context_get_help (context, FALSE, NULL));
       return 1;
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]