From 71baf787d8fa2a5d186f22d8154069fd212be37f Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Wed, 19 Aug 2015 16:20:19 +0100 Subject: osdep.h: Remove qemu_printf qemu_printf is an ancient remnant which has been a simple #define to printf for over a decade, and is used in only a few places. Expand it out in those places and remove the #define. Signed-off-by: Peter Maydell Reviewed-by: Daniel P. Berrange --- user-exec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'user-exec.c') diff --git a/user-exec.c b/user-exec.c index ed9a07f159..8ad89a466b 100644 --- a/user-exec.c +++ b/user-exec.c @@ -92,8 +92,8 @@ static inline int handle_cpu_signal(uintptr_t pc, unsigned long address, int ret; #if defined(DEBUG_SIGNAL) - qemu_printf("qemu: SIGSEGV pc=0x%08lx address=%08lx w=%d oldset=0x%08lx\n", - pc, address, is_write, *(unsigned long *)old_set); + printf("qemu: SIGSEGV pc=0x%08lx address=%08lx w=%d oldset=0x%08lx\n", + pc, address, is_write, *(unsigned long *)old_set); #endif /* XXX: locking issue */ if (is_write && h2g_valid(address) -- cgit v1.2.1