[Spice-commits] Branch 'spice.v18' - hw/spice-vmc.c

Alon Levy alon at kemper.freedesktop.org
Wed Sep 1 05:20:47 PDT 2010


 hw/spice-vmc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ba611cd5f9cb503c5aa329fe5a6dfb2a70ae8478
Author: Alon Levy <alevy at redhat.com>
Date:   Wed Sep 1 15:08:52 2010 +0300

    spice-vmc: compiler warning fix on fprintf

diff --git a/hw/spice-vmc.c b/hw/spice-vmc.c
index 1255d46..b9c5eb6 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);
         }


More information about the Spice-commits mailing list