aboutsummaryrefslogtreecommitdiff
path: root/monitor.h
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2010-09-23 21:28:05 +0200
committerBlue Swirl <blauwirbel@gmail.com>2010-10-03 06:34:51 +0000
commit8b7968f7c4ac8c07cad6a1a0891d38cf239a2839 (patch)
tree4a061bb5e911a88f914c106afd2a8c9ba9127835 /monitor.h
parente5924d8980e0bd027f2f12fa702ec1c555538230 (diff)
downloadqemu-8b7968f7c4ac8c07cad6a1a0891d38cf239a2839.zip
qemu-8b7968f7c4ac8c07cad6a1a0891d38cf239a2839.tar.gz
qemu-8b7968f7c4ac8c07cad6a1a0891d38cf239a2839.tar.bz2
Use GCC_FMT_ATTR (format checking)
Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'monitor.h')
-rw-r--r--monitor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/monitor.h b/monitor.h
index 185cc3e..4a6cf82 100644
--- a/monitor.h
+++ b/monitor.h
@@ -49,7 +49,8 @@ int monitor_read_bdrv_key_start(Monitor *mon, BlockDriverState *bs,
int monitor_get_fd(Monitor *mon, const char *fdname);
-void monitor_vprintf(Monitor *mon, const char *fmt, va_list ap);
+void monitor_vprintf(Monitor *mon, const char *fmt, va_list ap)
+ GCC_FMT_ATTR(2, 0);
void monitor_printf(Monitor *mon, const char *fmt, ...) GCC_FMT_ATTR(2, 3);
void monitor_print_filename(Monitor *mon, const char *filename);
void monitor_flush(Monitor *mon);