[grilo] grl-inspect: Use format string literal



commit 19f01a3cdbaf29b0b1c2929cbc66ca0d80866937
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Mon Apr 15 20:41:48 2013 +0000

    grl-inspect: Use format string literal

 tools/grilo-inspect/grl-inspect.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tools/grilo-inspect/grl-inspect.c b/tools/grilo-inspect/grl-inspect.c
index 69ae098..cee98ed 100644
--- a/tools/grilo-inspect/grl-inspect.c
+++ b/tools/grilo-inspect/grl-inspect.c
@@ -209,7 +209,7 @@ print_readable_keys (GList *sources, GrlKeyID key)
         first = FALSE;
       }
 
-      g_print (grl_source_get_id (s->data));
+      g_print ("%s", grl_source_get_id (s->data));
     }
   }
 
@@ -237,7 +237,7 @@ print_slow_keys (GList *sources, GrlKeyID key)
         first = FALSE;
       }
 
-      g_print (grl_source_get_id (s->data));
+      g_print ("%s", grl_source_get_id (s->data));
     }
   }
 
@@ -265,7 +265,7 @@ print_writable_keys (GList *sources, GrlKeyID key)
         first = FALSE;
       }
 
-      g_print (grl_source_get_id (s->data));
+      g_print ("%s", grl_source_get_id (s->data));
     }
   }
 


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