From face369437c00b28663e83ecd3b95f76ab60a8f8 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 11 May 2022 08:12:58 +0200 Subject: [PATCH] tcpdump: Use rtems_task_exit() Update #4650. --- freebsd/contrib/tcpdump/tcpdump.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/freebsd/contrib/tcpdump/tcpdump.c b/freebsd/contrib/tcpdump/tcpdump.c index 74c878a3..0438dd37 100644 --- a/freebsd/contrib/tcpdump/tcpdump.c +++ b/freebsd/contrib/tcpdump/tcpdump.c @@ -1229,8 +1229,7 @@ pcap_loop_monitor(rtems_task_argument arg) sched_yield(); } - rtems_task_delete(RTEMS_SELF); - assert(0); + rtems_task_exit(); } static int