summaryrefslogtreecommitdiff
path: root/tests/ospfd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-12-11 07:51:16 -0500
committerDonald Sharp <sharpd@nvidia.com>2023-03-24 08:32:17 -0400
commitde2754be3a2658363828eeb3a83579ad3bad0f99 (patch)
tree425608f8acab16eb4914148f8262db241dd82edf /tests/ospfd
parent2ccccdf5d0b5912afab9d5aad184013efc30fb48 (diff)
*: Convert thread_fetch and thread_call to event_fetch and event_call
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'tests/ospfd')
-rw-r--r--tests/ospfd/test_ospf_spf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ospfd/test_ospf_spf.c b/tests/ospfd/test_ospf_spf.c
index ebd8db736b..2bf3a9f76d 100644
--- a/tests/ospfd/test_ospf_spf.c
+++ b/tests/ospfd/test_ospf_spf.c
@@ -297,8 +297,8 @@ int main(int argc, char **argv)
vty_stdio(vty_do_exit);
/* Fetch next active thread. */
- while (thread_fetch(master, &thread))
- thread_call(&thread);
+ while (event_fetch(master, &thread))
+ event_call(&thread);
/* Not reached. */
exit(0);