[glib] Fixed format string issue in a test, fixes bug 640725



commit 8602a3a68212b54773f31e57bbe48189dacfcfd3
Author: Tobias Mueller <tobiasmue gnome org>
Date:   Thu Jan 27 15:14:31 2011 +0100

    Fixed format string issue in a test, fixes bug 640725

 glib/tests/markup-parse.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/tests/markup-parse.c b/glib/tests/markup-parse.c
index 62f1718..a1fbf38 100644
--- a/glib/tests/markup-parse.c
+++ b/glib/tests/markup-parse.c
@@ -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;
     }
 



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