fixed #10, apply path from https://svnweb.freebsd.org/ports/head/devel/sigar/files/patch-src_os_darwin_darwin__sigar.c?r1=438996&r2=544794
This commit is contained in:
parent
01df5b7739
commit
b78b558fb7
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue