use PI_EMPTY constant

This commit is contained in:
Doug MacEachern 2004-09-23 01:09:31 +00:00
parent 1c8c66dd0c
commit 4ad0aea473
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ int sigar_proc_list_get(sigar_t *sigar,
for (i=0; i<elts; i++) { for (i=0; i<elts; i++) {
struct tbl_procinfo *info = &procinfo[i]; struct tbl_procinfo *info = &procinfo[i];
if (!info->pi_status) { if (info->pi_status == PI_EMPTY) {
continue; continue;
} }