diff options
author | Markus Armbruster | 2019-04-17 21:06:41 +0200 |
---|---|---|
committer | Markus Armbruster | 2019-04-18 22:18:59 +0200 |
commit | 8acb2a758bdeb15027ae3150fc0f4e14f6078006 (patch) | |
tree | 578d7fcf17e21d159e7a909eaa925a338b7069e5 /include/monitor | |
parent | char-pty: Print "char device redirected" message to stdout (diff) | |
download | qemu-8acb2a758bdeb15027ae3150fc0f4e14f6078006.tar.gz qemu-8acb2a758bdeb15027ae3150fc0f4e14f6078006.tar.xz qemu-8acb2a758bdeb15027ae3150fc0f4e14f6078006.zip |
monitor: Simplify how -device/device_add print help
Commit a95db58f210 added monitor_vfprintf() as an error_printf()
generalized from stderr to arbitrary streams, then used it wrapped in
helper out_printf() to print -device/device_add help to stdout. Use
qemu_printf() instead, and delete monitor_vfprintf() and out_printf().
Cc: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20190417190641.26814-16-armbru@redhat.com>
Diffstat (limited to 'include/monitor')
-rw-r--r-- | include/monitor/monitor.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/monitor/monitor.h b/include/monitor/monitor.h index e4c3717454..316a168c41 100644 --- a/include/monitor/monitor.h +++ b/include/monitor/monitor.h @@ -48,7 +48,4 @@ int monitor_fdset_dup_fd_add(int64_t fdset_id, int dup_fd); void monitor_fdset_dup_fd_remove(int dup_fd); int monitor_fdset_dup_fd_find(int dup_fd); -int monitor_vfprintf(FILE *stream, - const char *fmt, va_list ap) GCC_FMT_ATTR(2, 0); - #endif /* MONITOR_H */ |