summaryrefslogtreecommitdiff
path: root/src/libvmon/vmon.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2024-08-11 21:17:35 -0700
committerVito Caputo <vcaputo@pengaru.com>2024-08-11 21:17:35 -0700
commit922406f5df68a2014bff05d366bb3057ab6e4d17 (patch)
tree02d3c86b293ee177928c3e1bb8daf6c9be2254b5 /src/libvmon/vmon.c
parent92e2113f772d3a6551ff8a1c9edeedf1e7319498 (diff)
libvmon: assert(0) on unexpected children input
Diffstat (limited to 'src/libvmon/vmon.c')
-rw-r--r--src/libvmon/vmon.c3
1 files changed, 3 insertions, 0 deletions
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);
}
}
© All Rights Reserved