aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>2010-03-23 16:13:03 +0100
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2010-03-23 16:13:03 +0100
commitbb334b1239ca06f7ba25d4dc5665499a736d0110 (patch)
tree88932a544edd660d5cceed428bf090f6e1a3a71a
parent4dcf7d87d954cf1a9711e31b30e95ae4d6f53c4b (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>
-rw-r--r--qemu-error.c2
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);
}
}