summaryrefslogtreecommitdiffstats
path: root/include/hw/hw.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/hw.h')
-rw-r--r--include/hw/hw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/hw.h b/include/hw/hw.h
index fc5301f293..34377f5309 100644
--- a/include/hw/hw.h
+++ b/include/hw/hw.h
@@ -5,6 +5,6 @@
#error Cannot include hw/hw.h from user emulation
#endif
-void QEMU_NORETURN hw_error(const char *fmt, ...) GCC_FMT_ATTR(1, 2);
+void QEMU_NORETURN hw_error(const char *fmt, ...) G_GNUC_PRINTF(1, 2);
#endif