diff options
Diffstat (limited to 'qemu-log.h')
-rw-r--r-- | qemu-log.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qemu-log.h b/qemu-log.h index 2ed19d1578..4cdc7c7a47 100644 --- a/qemu-log.h +++ b/qemu-log.h @@ -51,7 +51,8 @@ void GCC_FMT_ATTR(1, 2) qemu_log(const char *fmt, ...); /* vfprintf-like logging function */ -static inline void qemu_log_vprintf(const char *fmt, va_list va) +static inline void GCC_FMT_ATTR(1, 0) +qemu_log_vprintf(const char *fmt, va_list va) { if (qemu_logfile) { vfprintf(qemu_logfile, fmt, va); |