diff options
Diffstat (limited to 'tests/helpers/c/main.c')
| -rw-r--r-- | tests/helpers/c/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/helpers/c/main.c b/tests/helpers/c/main.c index 09f20e44b5..4ae72fa29a 100644 --- a/tests/helpers/c/main.c +++ b/tests/helpers/c/main.c @@ -35,7 +35,7 @@ DEFUN (daemon_exit, static int timer_count; static void test_timer(struct event *thread) { - int *count = THREAD_ARG(thread); + int *count = EVENT_ARG(thread); printf("run %d of timer\n", (*count)++); event_add_timer(master, test_timer, count, 5, NULL); |
