From: Edgar E. Iglesias Date: Tue, 23 Mar 2010 15:13:03 +0000 (+0100) Subject: qemu-error: Avoid build warning. X-Git-Tag: v0.13.0-rc0~986 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bb334b1239ca06f7ba25d4dc5665499a736d0110;p=thirdparty%2Fqemu.git 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 --- diff --git a/qemu-error.c b/qemu-error.c index 5d5fe3742f7..14ec14f39fd 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); } }