aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/rtc-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qtest/rtc-test.c')
-rw-r--r--tests/qtest/rtc-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/rtc-test.c b/tests/qtest/rtc-test.c
index c7af34f6b1..402ce2c609 100644
--- a/tests/qtest/rtc-test.c
+++ b/tests/qtest/rtc-test.c
@@ -292,7 +292,7 @@ static void alarm_time(void)
break;
}
- clock_step(1000000000);
+ clock_step(NANOSECONDS_PER_SECOND);
}
g_assert(get_irq(RTC_ISA_IRQ));