hpux needs who filtering too, just check for ifdef USER_PROCESS
This commit is contained in:
parent
425c3061fc
commit
75a63697ff
|
@ -755,7 +755,7 @@ int sigar_who_list_get(sigar_t *sigar,
|
|||
continue;
|
||||
}
|
||||
|
||||
#if defined(__linux__) || defined(__sun) || defined(_AIX)
|
||||
#ifdef USER_PROCESS
|
||||
if (ut.ut_type != USER_PROCESS) {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue