diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2024-08-11 21:17:35 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2024-08-11 21:17:35 -0700 |
commit | 922406f5df68a2014bff05d366bb3057ab6e4d17 (patch) | |
tree | 02d3c86b293ee177928c3e1bb8daf6c9be2254b5 /src/libvmon | |
parent | 92e2113f772d3a6551ff8a1c9edeedf1e7319498 (diff) |
libvmon: assert(0) on unexpected children input
Diffstat (limited to 'src/libvmon')
-rw-r--r-- | src/libvmon/vmon.c | 3 |
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); } } |