summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2009-02-17 22:02:07 +0100
committerTomas Bzatek <tbzatek@users.sourceforge.net>2009-02-17 22:02:07 +0100
commitbab56f1113ef4219004726f456ee6d0b8463f4c3 (patch)
tree9ffcbeaa388e59096fac28bf7303d9a9d7e748fc
parentc78b9c0f83204c1805c9f1fc858bddefc2402e17 (diff)
downloadcataract-bab56f1113ef4219004726f456ee6d0b8463f4c3.tar.xz
Fix minor warnings
-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;