aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/libqtest-single.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qtest/libqtest-single.h')
-rw-r--r--tests/qtest/libqtest-single.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/libqtest-single.h b/tests/qtest/libqtest-single.h
index 0d7f568678..b0838b9e0e 100644
--- a/tests/qtest/libqtest-single.h
+++ b/tests/qtest/libqtest-single.h
@@ -52,7 +52,7 @@ static inline void qtest_end(void)
*
* Sends a QMP message to QEMU and returns the response.
*/
-GCC_FMT_ATTR(1, 2)
+G_GNUC_PRINTF(1, 2)
static inline QDict *qmp(const char *fmt, ...)
{
va_list ap;