summaryrefslogtreecommitdiff
path: root/cgg.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgg.c')
-rw-r--r--cgg.c4
1 files 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;