diff --git a/pmap.c b/pmap.c index 1cc719e3..409b37fd 100644 --- a/pmap.c +++ b/pmap.c @@ -1153,7 +1153,7 @@ int main(int argc, char **argv) discover_shm_minor(); - if (!(pids_reap = procps_pids_select(info, pidlist, user_count, PROCPS_FILL_PID))) + if (!(pids_reap = procps_pids_select(info, pidlist, user_count, PROCPS_SELECT_PID))) xerrx(EXIT_FAILURE, _("library failed pids statistics")); for (reap_count = 0; reap_count < pids_reap->counts.total; reap_count++) { diff --git a/ps/display.c b/ps/display.c index 448d61f6..2c94a0c5 100644 --- a/ps/display.c +++ b/ps/display.c @@ -282,7 +282,7 @@ static void simple_spew(void){ unsigned *pidlist = xcalloc(selection_list->n, sizeof(unsigned)); for (i = 0; i < selection_list->n; i++) pidlist[i] = selection_list->u[selection_list->n-i-1].pid; - pidreap = procps_pids_select(Pids_info, pidlist, selection_list->n, PROCPS_FILL_PID); + pidreap = procps_pids_select(Pids_info, pidlist, selection_list->n, PROCPS_SELECT_PID); free(pidlist); } else { enum pids_reap_type which; diff --git a/top/top.c b/top/top.c index 0aebf3ac..dfe53f17 100644 --- a/top/top.c +++ b/top/top.c @@ -2272,7 +2272,7 @@ static void procs_refresh (void) { Frame_etscale = 100.0f / ((float)Hertz * (float)et * (Rc.mode_irixps ? 1 : Cpu_cnt)); if (!Monpidsidx) Pids_reap = procps_pids_reap(Pids_ctx, Thread_mode); - else Pids_reap = procps_pids_select(Pids_ctx, Monpids, Monpidsidx, PROCPS_FILL_PID); + else Pids_reap = procps_pids_select(Pids_ctx, Monpids, Monpidsidx, PROCPS_SELECT_PID); if (!Pids_reap) error_exit(fmtmk(N_fmt(LIB_errorpid_fmt),__LINE__));