]> arthur.barton.de Git - netdata.git/blobdiff - src/macos_fw.c
Merge pull request #1690 from ktsaou/master
[netdata.git] / src / macos_fw.c
index f20feb8310e614464a2ad4964d205499443ba677..a62aa7a7e257f4a82192bf776ceb46f161bc0b7b 100644 (file)
@@ -330,11 +330,11 @@ int do_macos_iokit(int update_every, usec_t dt) {
                 if (mntbuf[i].f_flags == MNT_RDONLY ||
                         mntbuf[i].f_blocks == 0 ||
                         // taken from gnulib/mountlist.c and shortened to FreeBSD related fstypes
-                        strsame(mntbuf[i].f_fstypename, "autofs") == 0 ||
-                        strsame(mntbuf[i].f_fstypename, "procfs") == 0 ||
-                        strsame(mntbuf[i].f_fstypename, "subfs") == 0 ||
-                        strsame(mntbuf[i].f_fstypename, "devfs") == 0 ||
-                        strsame(mntbuf[i].f_fstypename, "none") == 0)
+                        strcmp(mntbuf[i].f_fstypename, "autofs") == 0 ||
+                        strcmp(mntbuf[i].f_fstypename, "procfs") == 0 ||
+                        strcmp(mntbuf[i].f_fstypename, "subfs") == 0 ||
+                        strcmp(mntbuf[i].f_fstypename, "devfs") == 0 ||
+                        strcmp(mntbuf[i].f_fstypename, "none") == 0)
                     continue;
 
                 // --------------------------------------------------------------------------