summaryrefslogtreecommitdiff
path: root/tests/lib/test_heavy_thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/test_heavy_thread.c')
-rw-r--r--tests/lib/test_heavy_thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/test_heavy_thread.c b/tests/lib/test_heavy_thread.c
index bd5ecf37c3..f931894ff8 100644
--- a/tests/lib/test_heavy_thread.c
+++ b/tests/lib/test_heavy_thread.c
@@ -58,7 +58,7 @@ static void slow_func(struct vty *vty, const char *str, const int i)
static void clear_something(struct event *thread)
{
- struct work_state *ws = THREAD_ARG(thread);
+ struct work_state *ws = EVENT_ARG(thread);
/* this could be like iterating through 150k of route_table
* or worse, iterating through a list of peers, to bgp_stop them with