]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
Fix condition on libkstat existence 3382/head
authorDagobert Michelsen <dam@opencsw.org>
Sun, 23 Feb 2020 20:38:31 +0000 (21:38 +0100)
committerDagobert Michelsen <dam@opencsw.org>
Sun, 23 Feb 2020 20:38:31 +0000 (21:38 +0100)
src/nfs.c

index ba9bc068cf4f9ff0fe6d732334040ce62e031aa8..3ddab6ab452b458baf196e3ecb93623166e02a3f 100644 (file)
--- a/src/nfs.c
+++ b/src/nfs.c
@@ -96,7 +96,7 @@ Number      Procedures  Procedures
 21                      commit
 */
 
-#if KERNEL_LINUX | HAVE_KSTAT
+#if KERNEL_LINUX || HAVE_LIBKSTAT
 static const char *nfs2_procedures_names[] = {
     "null", "getattr", "setattr", "root",   "lookup",  "readlink",
     "read", "wrcache", "write",   "create", "remove",  "rename",