aboutsummaryrefslogtreecommitdiffstats
path: root/tests/timer/timer_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/timer/timer_test.c')
-rw-r--r--tests/timer/timer_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/timer/timer_test.c b/tests/timer/timer_test.c
index bb9a177..6184f66 100644
--- a/tests/timer/timer_test.c
+++ b/tests/timer/timer_test.c
@@ -115,7 +115,7 @@ static void secondary_timer_fired(void *data)
timersub(&current, &v->stop, &res);
if (timercmp(&res, &precision, >)) {
fprintf(stderr, "ERROR: timer %p has expired too late!\n",
- v->timer);
+ &v->timer);
too_late++;
}