summaryrefslogtreecommitdiff
path: root/hw/xen_backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xen_backend.h')
-rw-r--r--hw/xen_backend.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xen_backend.h b/hw/xen_backend.h
index 292126dd19..1b428e3bf4 100644
--- a/hw/xen_backend.h
+++ b/hw/xen_backend.h
@@ -84,7 +84,7 @@ int xen_be_bind_evtchn(struct XenDevice *xendev);
void xen_be_unbind_evtchn(struct XenDevice *xendev);
int xen_be_send_notify(struct XenDevice *xendev);
void xen_be_printf(struct XenDevice *xendev, int msg_level, const char *fmt, ...)
- __attribute__ ((format(printf, 3, 4)));
+ GCC_FMT_ATTR(3, 4);
/* actual backend drivers */
extern struct XenDevOps xen_console_ops; /* xen_console.c */