chiark / gitweb /
release 124
[elogind.git] / udev_rules.c
index a102e2da5034ab72a55eafdae24546d4227daa07..ea850a84c339a90712ff89c792b8d987b3ba1322 100644 (file)
@@ -1101,7 +1101,7 @@ static int match_rule(struct udevice *udev, struct udev_rule *rule)
                attr_subst_subdir(filename, sizeof(filename));
 
                match = (stat(filename, &statbuf) == 0);
-               info("'%s' %s", filename, match ? "exists" : "does not exist\n");
+               info("'%s' %s", filename, match ? "exists\n" : "does not exist\n");
                if (match && rule->test_mode_mask > 0) {
                        match = ((statbuf.st_mode & rule->test_mode_mask) > 0);
                        info("'%s' has mode=%#o and %s %#o\n", filename, statbuf.st_mode,