summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ksim/monitors/filesystem/filesystemstats.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/ksim/monitors/filesystem/filesystemstats.cpp b/ksim/monitors/filesystem/filesystemstats.cpp
index f60ce58..5c1cf3a 100644
--- a/ksim/monitors/filesystem/filesystemstats.cpp
+++ b/ksim/monitors/filesystem/filesystemstats.cpp
@@ -176,7 +176,9 @@ FilesystemStats::List FilesystemStats::readEntries()
entry.dir = sfs[i].f_mntonname;
entry.fsname = sfs[i].f_mntfromname;
-#ifndef __osf__
+#ifdef __osf__
+ entry.type = getvfsbynumber(sfs[i].f_type);
+#else
entry.type = sfs[i].f_fstypename;
#endif