[PATCH 4/8] tcpdump: Use rtems_task_exit()
Sebastian Huber
sebastian.huber at embedded-brains.de
Wed May 11 06:56:37 UTC 2022
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
--
2.35.3
More information about the devel
mailing list