From 0c48e88c80909eb27c86f17df4ca7d10fd1326b8 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Fri, 11 Apr 2025 09:13:56 -0600 Subject: libcr_ipc: Fix cr_select_l --- libcr_ipc/tests/test_select.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libcr_ipc/tests/test_select.c') diff --git a/libcr_ipc/tests/test_select.c b/libcr_ipc/tests/test_select.c index f0a71a3..3da1c78 100644 --- a/libcr_ipc/tests/test_select.c +++ b/libcr_ipc/tests/test_select.c @@ -53,9 +53,8 @@ COROUTINE cr_consumer(void *) { test_assert(ret_arg == 0); send = 890; - args[0] = CR_SELECT_SEND(&fch, &send); - args[1] = CR_SELECT_DEFAULT; - ret_arg = cr_select_v(2, args); + ret_arg = cr_select_l(CR_SELECT_SEND(&fch, &send), + CR_SELECT_DEFAULT); test_assert(ret_arg == 1); cr_end(); -- cgit v1.2.3-2-g168b