Konstantin Makarchev 2021-06-28 11:57:37 +03:00
parent 01df5b7739
commit b78b558fb7
1 changed files with 1 additions and 1 deletions

View File

@ -1965,7 +1965,7 @@ int sigar_proc_fd_get(sigar_t *sigar, sigar_pid_t pid,
free(ofiles); free(ofiles);
#else #else
/* seems the same as the above */ /* seems the same as the above */
procfd->total = filed.fd_lastfile; procfd->total = filed.fd_nfiles;
#endif #endif
return SIGAR_OK; return SIGAR_OK;