(SIGAR-211) HPUX file_system_list needs to read /etc/mnttab instead of /etc/fstab
This commit is contained in:
1 parent
e20e2eaa54
commit
fd9acb0004
1 file changed
+1
-1
@@ -557,7 +557,7 @@ int sigar_file_system_list_get(sigar_t *sigar,
|
||||
FILE *fp;
|
||||
sigar_file_system_t *fsp;
|
||||
|
||||
if (!(fp = setmntent(MNT_CHECKLIST, "r"))) {
|
||||
if (!(fp = setmntent(MNT_MNTTAB, "r"))) {
|
||||
return errno;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user