wmc: fix compilation error in tests

g_print() expects format + arguments; or compilation will fail when
-Werror=format-security being used.
This commit is contained in:
Aleksander Morgado
2012-01-23 15:29:36 +01:00
parent 4d4d6072a1
commit a86a5c39ac

View File

@@ -102,7 +102,7 @@ print_buf (const char *detail, const char *buf, size_t len)
f = g_strdup_printf ("%s (%zu) ", detail, len);
flen = strlen (f);
g_print (f);
g_print ("%s", f);
for (i = 0; i < len; i++) {
g_print ("0x%02x ", buf[i] & 0xFF);
if (((i + 1) % 12) == 0) {