libmultipath: avoid frequent messages from filter_property()
[multipath-tools/.git] / libmultipath / discovery.c
index 3ad3349..1c87277 100644 (file)
@@ -1869,7 +1869,7 @@ int pathinfo(struct path *pp, struct config *conf, int mask)
                        return PATHINFO_SKIPPED;
                }
                if (is_claimed_by_foreign(pp->udev) ||
-                        filter_property(conf, pp->udev) > 0)
+                   filter_property(conf, pp->udev, 4) > 0)
                        return PATHINFO_SKIPPED;
        }