aboutsummaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2015-08-19 16:20:19 +0100
committerPeter Maydell <peter.maydell@linaro.org>2015-08-19 16:29:53 +0100
commit71baf787d8fa2a5d186f22d8154069fd212be37f (patch)
treef9b4fa7d477fab0cd549106ef5f96791fdfceb27 /monitor.c
parent38e20cac669083e2e10a2a9a9602cb99ec19299e (diff)
downloadqemu-71baf787d8fa2a5d186f22d8154069fd212be37f.zip
qemu-71baf787d8fa2a5d186f22d8154069fd212be37f.tar.gz
qemu-71baf787d8fa2a5d186f22d8154069fd212be37f.tar.bz2
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 <peter.maydell@linaro.org> Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/monitor.c b/monitor.c
index aeea2b5..fc32f12 100644
--- a/monitor.c
+++ b/monitor.c
@@ -678,7 +678,7 @@ static int get_str(char *buf, int buf_size, const char **pp)
case '\"':
break;
default:
- qemu_printf("unsupported escape code: '\\%c'\n", c);
+ printf("unsupported escape code: '\\%c'\n", c);
goto fail;
}
if ((q - buf) < buf_size - 1) {
@@ -692,7 +692,7 @@ static int get_str(char *buf, int buf_size, const char **pp)
}
}
if (*p != '\"') {
- qemu_printf("unterminated string\n");
+ printf("unterminated string\n");
goto fail;
}
p++;