From b8c63251230496a78878a61297a2c6eb17d5dca1 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Tue, 7 Sep 2010 12:41:05 -0700 Subject: [PATCH] [SIGAR-224] report 'nfs4' file system mounts as type network --- src/sigar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sigar.c b/src/sigar.c index b02d79b9..1b8e4dd1 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;