diff --git a/src/sigar.c b/src/sigar.c index 49f66433..8bd7e919 100644 --- a/src/sigar.c +++ b/src/sigar.c @@ -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;