summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-09-01 15:08:52 +0300
committerAlon Levy <alevy@redhat.com>2010-09-01 15:21:18 +0300
commit5bee6fc73629356d76b93a81e757d9e87d44e195 (patch)
treee1d67ec3efa167e011b3c3019ad188db589dfd95
parent7f18ea837478dce618c0c2868c6c081abe677a78 (diff)
spice-vmc: compiler warning fix on fprintfspice.kvm.v18
-rw-r--r--hw/spice-vmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/spice-vmc.c b/hw/spice-vmc.c
index 1255d465f..b9c5eb66b 100644
--- a/hw/spice-vmc.c
+++ b/hw/spice-vmc.c
@@ -182,7 +182,7 @@ static void vmc_print_optional_subtypes(void)
fprintf(stderr, "supported subtypes: ");
for(i=0; *psubtype != NULL; ++psubtype, ++i) {
if (i == 0) {
- fprintf(stderr, *psubtype);
+ fprintf(stderr, "%s", *psubtype);
} else {
fprintf(stderr, ", %s", *psubtype);
}