Fixed format string issue in a test, fixes bug 640725
authorTobias Mueller <tobiasmue@gnome.org>
Thu, 27 Jan 2011 14:14:31 +0000 (15:14 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 28 Jan 2011 04:10:02 +0000 (23:10 -0500)
glib/tests/markup-parse.c

index 62f1718..a1fbf38 100644 (file)
@@ -267,7 +267,7 @@ main (int argc, char *argv[])
     {
       string = g_string_sized_new (0);
       test_file (argv[1]);
-      g_print (string->str);
+      g_print ("%s", string->str);
       return 0;
     }