summary refs log tree commit diff stats
path: root/tests/qtest/arm-cpu-features.c
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2022-12-19 08:02:04 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2023-01-11 10:44:34 +0100
commit0472b2e541971d162a9bbca7541c8f9299e9d78f (patch)
treeb079e72362d542b920978da4297bc035bd237564 /tests/qtest/arm-cpu-features.c
parentbeede7e848cc0ca30599644c19c078bbe3cd9d20 (diff)
downloadfocaccia-qemu-0472b2e541971d162a9bbca7541c8f9299e9d78f.tar.gz
focaccia-qemu-0472b2e541971d162a9bbca7541c8f9299e9d78f.zip
tests: add G_GNUC_PRINTF for various functions
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20221219130205.687815-6-berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/qtest/arm-cpu-features.c')
-rw-r--r--tests/qtest/arm-cpu-features.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qtest/arm-cpu-features.c b/tests/qtest/arm-cpu-features.c
index 5a14527386..8691802950 100644
--- a/tests/qtest/arm-cpu-features.c
+++ b/tests/qtest/arm-cpu-features.c
@@ -32,6 +32,7 @@ static QDict *do_query_no_props(QTestState *qts, const char *cpu_type)
                           QUERY_TAIL, cpu_type);
 }
 
+G_GNUC_PRINTF(3, 4)
 static QDict *do_query(QTestState *qts, const char *cpu_type,
                        const char *fmt, ...)
 {