[SIGAR-224] report 'nfs4' file system mounts as type network

This commit is contained in:
Doug MacEachern 2010-09-07 12:41:05 -07:00
parent d1a4f8e55e
commit b8c6325123
1 changed files with 1 additions and 1 deletions

View File

@ -412,7 +412,7 @@ static int sigar_common_fs_type_get(sigar_file_system_t *fsp)
switch (*type) {
case 'n':
if (strEQ(type, "nfs")) {
if (strnEQ(type, "nfs", 3)) {
fsp->type = SIGAR_FSTYPE_NETWORK;
}
break;