summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--freebsd/contrib/tcpdump/tcpdump.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/freebsd/contrib/tcpdump/tcpdump.c b/freebsd/contrib/tcpdump/tcpdump.c
index 5f3cc672..f6f106ce 100644
--- a/freebsd/contrib/tcpdump/tcpdump.c
+++ b/freebsd/contrib/tcpdump/tcpdump.c
@@ -1252,8 +1252,7 @@ pcap_loop_monitor(rtems_task_argument arg)
sched_yield();
}
- rtems_task_delete(RTEMS_SELF);
- assert(0);
+ rtems_task_exit();
}
static int