diff options
Diffstat (limited to 'tests/rtas-test.c')
-rw-r--r-- | tests/rtas-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rtas-test.c b/tests/rtas-test.c index 276c87ef84..34a692163f 100644 --- a/tests/rtas-test.c +++ b/tests/rtas-test.c @@ -16,7 +16,7 @@ static void test_rtas_get_time_of_day(void) qs = qtest_spapr_boot("-machine pseries"); t1 = time(NULL); - ret = qrtas_get_time_of_day(qs->alloc, &tm, &ns); + ret = qrtas_get_time_of_day(qs->qts, qs->alloc, &tm, &ns); g_assert_cmpint(ret, ==, 0); t2 = mktimegm(&tm); g_assert(t2 - t1 < 5); /* 5 sec max to run the test */ |