proc_fd not working on 5.2+

This commit is contained in:
Doug MacEachern 2008-08-10 19:38:07 +00:00
parent 34333d64e8
commit b151528a9e
1 changed files with 1 additions and 1 deletions

View File

@ -1274,7 +1274,7 @@ int sigar_proc_fd_get(sigar_t *sigar, sigar_pid_t pid,
if (getuser(&pinfo, sizeof(pinfo),
&uinfo, sizeof(uinfo)) != 0) {
if (errno == EINVAL) {
return errno;
return SIGAR_ENOTIMPL; /*XXX 5.2+*/
}
}