diff options
author | Alon Levy <alevy@redhat.com> | 2010-09-01 15:20:28 +0300 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2010-09-01 15:20:28 +0300 |
commit | b737e67566f34f129eb6527e70b247d59c1039b8 (patch) | |
tree | fa4fffca59d260e6d03d8e318cd9eb0a3d404c7c | |
parent | 861351ec852369e156c5d8b1bbc4e968b32b6e8e (diff) |
spice-qemu-char: fix fprintf compiler warningusb-ccid.spice.kvm.v14
-rw-r--r-- | spice-qemu-char.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spice-qemu-char.c b/spice-qemu-char.c index 684ccf1ab..d03987b2a 100644 --- a/spice-qemu-char.c +++ b/spice-qemu-char.c @@ -177,11 +177,12 @@ CharDriverState *qemu_chr_open_spice(QemuOpts *opts) for(i=0, psubtype = spice_server_char_device_recognized_subtypes(); *psubtype != NULL; ++psubtype, ++i) { if (i == 0) { - fprintf(stderr, *psubtype); + fprintf(stderr, "%s", *psubtype); } else { fprintf(stderr, ", %s", *psubtype); } } + fprintf(stderr, "\n"); return NULL; } |