summaryrefslogtreecommitdiffstats
path: root/tests/helpers
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-12-25 16:26:52 +0100
committerDonald Sharp <sharpd@nvidia.com>2023-03-24 13:32:17 +0100
commite16d030c65ca97b1ba68b93ada93b1d4edde59d3 (patch)
treee3a57a2e2887a899cad71c0640047b2b2409b5fa /tests/helpers
parentlib, zebra: Convert THREAD_TIMER_STRLEN to EVENT_TIMER_STRLEN (diff)
downloadfrr-e16d030c65ca97b1ba68b93ada93b1d4edde59d3.tar.xz
frr-e16d030c65ca97b1ba68b93ada93b1d4edde59d3.zip
*: Convert THREAD_XXX macros to EVENT_XXX macros
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'tests/helpers')
-rw-r--r--tests/helpers/c/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/helpers/c/main.c b/tests/helpers/c/main.c
index 09f20e44b..4ae72fa29 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);