From 922406f5df68a2014bff05d366bb3057ab6e4d17 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Sun, 11 Aug 2024 21:17:35 -0700 Subject: libvmon: assert(0) on unexpected children input --- src/libvmon/vmon.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/libvmon') diff --git a/src/libvmon/vmon.c b/src/libvmon/vmon.c index bb2cf3e..c930dc4 100644 --- a/src/libvmon/vmon.c +++ b/src/libvmon/vmon.c @@ -444,6 +444,9 @@ static int proc_follow_children(vmon_t *vmon, vmon_proc_t *proc, vmon_proc_follo child_pid = 0; break; + + default: + assert(0); } } -- cgit v1.2.3