aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/rtas-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qtest/rtas-test.c')
-rw-r--r--tests/qtest/rtas-test.c2
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);