fix compile on aix 5.2

This commit is contained in:
Doug MacEachern 2007-01-13 16:59:25 +00:00
parent 9966f219e9
commit 165ab47afd
1 changed files with 1 additions and 1 deletions

View File

@ -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++;
}
}