diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2022-12-19 08:02:04 -0500 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-01-11 10:44:34 +0100 |
commit | 0472b2e541971d162a9bbca7541c8f9299e9d78f (patch) | |
tree | b079e72362d542b920978da4297bc035bd237564 /tests/qtest/rtas-test.c | |
parent | beede7e848cc0ca30599644c19c078bbe3cd9d20 (diff) |
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/rtas-test.c')
-rw-r--r-- | tests/qtest/rtas-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/rtas-test.c b/tests/qtest/rtas-test.c index 50df60e5b2..1ba42b37d2 100644 --- a/tests/qtest/rtas-test.c +++ b/tests/qtest/rtas-test.c @@ -13,7 +13,7 @@ static void run_test_rtas_get_time_of_day(const char *machine) uint64_t ret; time_t t1, t2; - qs = qtest_spapr_boot(machine); + qs = qtest_spapr_boot("%s", machine); t1 = time(NULL); ret = qrtas_get_time_of_day(qs->qts, &qs->alloc, &tm, &ns); |