summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/minutils/s6-ps.c2
-rw-r--r--src/minutils/s6ps_otree.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/minutils/s6-ps.c b/src/minutils/s6-ps.c
index 5a22068..f4f06bd 100644
--- a/src/minutils/s6-ps.c
+++ b/src/minutils/s6-ps.c
@@ -296,7 +296,7 @@ int main (int argc, char const *const *argv)
strerr_diefu1sys(111, "avltreeb_insert") ;
if (flagtree) s6ps_otree(p, n+1, &pidtree.info, orderedlist) ;
- else avltreeb_iter(&pidtree, &fillo_notree, orderedlist) ;
+ else avltreeb_iter_nocancel(&pidtree, avltreeb_totalsize(&pidtree), &fillo_notree, orderedlist) ;
}
diff --git a/src/minutils/s6ps_otree.c b/src/minutils/s6ps_otree.c
index 5e96409..562a66d 100644
--- a/src/minutils/s6ps_otree.c
+++ b/src/minutils/s6ps_otree.c
@@ -78,7 +78,7 @@ void s6ps_otree (pscan_t *p, unsigned int n, avltreen *pidtree, unsigned int *or
unsigned int cpos[n] ;
ptreeiter_t blah = { .childlist = childlist, .childindex = childindex, .ppindex = orderedlist, .cpos = cpos } ;
for (i = 0 ; i < n ; i++) cpos[i] = 0 ;
- avltreen_iter(pidtree, &fillchildlist, &blah) ;
+ avltreen_iter_nocancel(pidtree, avltreen_totalsize(pidtree), &fillchildlist, &blah) ;
}
/* If we have init, make it the last in the orphan list */