summaryrefslogtreecommitdiffstats
path: root/tests/timer
diff options
context:
space:
mode:
Diffstat (limited to 'tests/timer')
-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 bb9a177c..6184f667 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++;
}