qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] Fix gcc warning 'format not a string literal and no


From: Shahar Havivi
Subject: [Qemu-devel] [PATCH] Fix gcc warning 'format not a string literal and no format arguments'
Date: Fri, 19 Mar 2010 13:11:27 +0200
User-agent: Mutt/1.5.20 (2009-08-17)

gcc 4.4.1 produce a warning 'format not a string literal and no format 
arguments'

Signed-off-by: Shahar Havivi <address@hidden>
---
 qemu-error.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/qemu-error.c b/qemu-error.c
index 5d5fe37..14ec14f 100644
--- a/qemu-error.c
+++ b/qemu-error.c
@@ -188,7 +188,7 @@ void error_print_loc(void)
         error_printf(" ");
         break;
     default:
-        error_printf(sep);
+        error_printf("%s", sep);
     }
 }
 
-- 
1.6.3.3





reply via email to

[Prev in Thread] Current Thread [Next in Thread]