summaryrefslogtreecommitdiffstats
path: root/hw/xen
diff options
context:
space:
mode:
authorMarc-André Lureau2022-02-20 17:39:25 +0100
committerMarc-André Lureau2022-03-22 11:40:51 +0100
commit9edc6313da34699ebd2bae4573ea22339b26450a (patch)
treec04eb27a7ce157789496b078b824c8eae8ddba05 /hw/xen
parentDrop qemu_foo() socket API wrapper (diff)
downloadqemu-9edc6313da34699ebd2bae4573ea22339b26450a.tar.gz
qemu-9edc6313da34699ebd2bae4573ea22339b26450a.tar.xz
qemu-9edc6313da34699ebd2bae4573ea22339b26450a.zip
Replace GCC_FMT_ATTR with G_GNUC_PRINTF
One less qemu-specific macro. It also helps to make some headers/units only depend on glib, and thus moved in standalone projects eventually. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
Diffstat (limited to 'hw/xen')
-rw-r--r--hw/xen/xen_pt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xen/xen_pt.h b/hw/xen/xen_pt.h
index c74c4678f2..6b8e13cdee 100644
--- a/hw/xen/xen_pt.h
+++ b/hw/xen/xen_pt.h
@@ -9,7 +9,7 @@
bool xen_igd_gfx_pt_enabled(void);
void xen_igd_gfx_pt_set(bool value, Error **errp);
-void xen_pt_log(const PCIDevice *d, const char *f, ...) GCC_FMT_ATTR(2, 3);
+void xen_pt_log(const PCIDevice *d, const char *f, ...) G_GNUC_PRINTF(2, 3);
#define XEN_PT_ERR(d, _f, _a...) xen_pt_log(d, "%s: Error: "_f, __func__, ##_a)