From bb334b1239ca06f7ba25d4dc5665499a736d0110 Mon Sep 17 00:00:00 2001 From: "Edgar E. Iglesias" Date: Tue, 23 Mar 2010 16:13:03 +0100 Subject: qemu-error: Avoid build warning. CC qemu-error.o cc1: warnings being treated as errors /home/edgar/src/c/qemu/git/qemu/qemu-error.c: In function 'error_print_loc': /home/edgar/src/c/qemu/git/qemu/qemu-error.c:191: error: format not a string literal and no format arguments make: *** [qemu-error.o] Error 1 Signed-off-by: Edgar E. Iglesias --- qemu-error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- cgit v1.1