From patchwork Fri Mar 19 11:11:27 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Fix gcc warning 'format not a string literal and no format arguments' From: Shahar Havivi X-Patchwork-Id: 48137 Message-Id: <20100319111123.GA16049@redhat.com> To: qemu-devel@nongnu.org Date: Fri, 19 Mar 2010 13:11:27 +0200 gcc 4.4.1 produce a warning 'format not a string literal and no format arguments' Signed-off-by: Shahar Havivi --- 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); } }