diff --git a/src/os/hpux/hpux_sigar.c b/src/os/hpux/hpux_sigar.c index b151aed1..866c4c1d 100644 --- a/src/os/hpux/hpux_sigar.c +++ b/src/os/hpux/hpux_sigar.c @@ -525,11 +525,6 @@ int sigar_os_fs_type_get(sigar_file_system_t *fsp) fsp->type = SIGAR_FSTYPE_LOCAL_DISK; } break; - case 'v': - if (strEQ(type, "vxfs")) { - fsp->type = SIGAR_FSTYPE_LOCAL_DISK; - } - break; case 'c': if (strEQ(type, "cdfs")) { fsp->type = SIGAR_FSTYPE_CDROM; diff --git a/src/os/solaris/solaris_sigar.c b/src/os/solaris/solaris_sigar.c index d40be80f..479d0eff 100644 --- a/src/os/solaris/solaris_sigar.c +++ b/src/os/solaris/solaris_sigar.c @@ -1260,11 +1260,6 @@ int sigar_os_fs_type_get(sigar_file_system_t *fsp) fsp->type = SIGAR_FSTYPE_LOCAL_DISK; } break; - case 'v': - if (strEQ(type, "vxfs")) { - fsp->type = SIGAR_FSTYPE_LOCAL_DISK; - } - break; /* XXX */ } diff --git a/src/sigar.c b/src/sigar.c index 218f919b..285e6493 100644 --- a/src/sigar.c +++ b/src/sigar.c @@ -432,7 +432,10 @@ static int sigar_common_fs_type_get(sigar_file_system_t *fsp) } break; case 'v': - if (strEQ(type, "vfat")) { + if (strEQ(type, "vxfs")) { + fsp->type = SIGAR_FSTYPE_LOCAL_DISK; + } + else if (strEQ(type, "vfat")) { fsp->type = SIGAR_FSTYPE_LOCAL_DISK; } break;