misc: adapt others to a changed identifier, <pids> API

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner
2016-04-18 00:00:00 -05:00
committed by Craig Small
parent edb124ec86
commit 714ea69c6d
3 changed files with 3 additions and 3 deletions

2
pmap.c
View File

@@ -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++) {