diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-12-11 07:51:16 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-03-24 08:32:17 -0400 |
| commit | de2754be3a2658363828eeb3a83579ad3bad0f99 (patch) | |
| tree | 425608f8acab16eb4914148f8262db241dd82edf /tests/lib/cli/common_cli.c | |
| parent | 2ccccdf5d0b5912afab9d5aad184013efc30fb48 (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/lib/cli/common_cli.c')
| -rw-r--r-- | tests/lib/cli/common_cli.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/cli/common_cli.c b/tests/lib/cli/common_cli.c index 350716ad0c..0a98748ed3 100644 --- a/tests/lib/cli/common_cli.c +++ b/tests/lib/cli/common_cli.c @@ -81,8 +81,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); |
