From bab56f1113ef4219004726f456ee6d0b8463f4c3 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Tue, 17 Feb 2009 22:02:07 +0100 Subject: Fix minor warnings --- cgg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cgg.c b/cgg.c index 1e8a250..a789c38 100644 --- a/cgg.c +++ b/cgg.c @@ -66,7 +66,7 @@ parse_cmd (int argc, char* argv[], char **source_dir, char **dst_dir, gboolean * if (argc == 1) { s1 = g_option_context_get_help (context, TRUE, NULL); - g_print (s1); + g_print ("%s", s1); g_free (s1); g_option_context_free (context); return FALSE; @@ -75,7 +75,7 @@ parse_cmd (int argc, char* argv[], char **source_dir, char **dst_dir, gboolean * if (! g_option_context_parse (context, &argc, &argv, &error)) { g_print ("option parsing failed: %s\n", error->message); s1 = g_option_context_get_help (context, TRUE, NULL); - g_print (s1); + g_print ("%s", s1); g_free (s1); g_option_context_free (context); return FALSE; -- cgit v1.2.3