fix compile on aix 5.2
This commit is contained in:
parent
9966f219e9
commit
165ab47afd
|
@ -1238,7 +1238,7 @@ int sigar_proc_fd_get(sigar_t *sigar, sigar_pid_t pid,
|
|||
|
||||
/* see sys/user.h */
|
||||
for (i=0; i<uinfo.U_maxofile; i++) {
|
||||
if (uinfo.U_ufd[i].fp) {
|
||||
if (uinfo.U_ofile(i)) {
|
||||
procfd->total++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue