diff options
author | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2010-03-23 16:13:03 +0100 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2010-03-23 16:13:03 +0100 |
commit | bb334b1239ca06f7ba25d4dc5665499a736d0110 (patch) | |
tree | 88932a544edd660d5cceed428bf090f6e1a3a71a /qemu-error.c | |
parent | 4dcf7d87d954cf1a9711e31b30e95ae4d6f53c4b (diff) |
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 <edgar.iglesias@gmail.com>
Diffstat (limited to 'qemu-error.c')
-rw-r--r-- | qemu-error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-error.c b/qemu-error.c index 5d5fe3742f..14ec14f39f 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); } } |