summaryrefslogtreecommitdiffstats
path: root/vtysh/vtysh_main.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-12-11 13:51:16 +0100
committerDonald Sharp <sharpd@nvidia.com>2023-03-24 13:32:17 +0100
commitde2754be3a2658363828eeb3a83579ad3bad0f99 (patch)
tree425608f8acab16eb4914148f8262db241dd82edf /vtysh/vtysh_main.c
parentlib: Convert thread_type to event_type and make an enum (diff)
downloadfrr-de2754be3a2658363828eeb3a83579ad3bad0f99.tar.xz
frr-de2754be3a2658363828eeb3a83579ad3bad0f99.zip
*: Convert thread_fetch and thread_call to event_fetch and event_call
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to '')
-rw-r--r--vtysh/vtysh_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vtysh/vtysh_main.c b/vtysh/vtysh_main.c
index a1463c129..4487fa032 100644
--- a/vtysh/vtysh_main.c
+++ b/vtysh/vtysh_main.c
@@ -234,8 +234,8 @@ static void vtysh_rl_run(void)
event_add_read(master, vtysh_rl_read, NULL, STDIN_FILENO,
&vtysh_rl_read_thread);
- while (!vtysh_loop_exited && thread_fetch(master, &thread))
- thread_call(&thread);
+ while (!vtysh_loop_exited && event_fetch(master, &thread))
+ event_call(&thread);
if (!vtysh_loop_exited)
rl_callback_handler_remove();