]> err.no Git - systemd/commitdiff
warn about non-readable or empty rules file
authorKay Sievers <kay.sievers@vrfy.org>
Wed, 19 Aug 2009 05:34:07 +0000 (07:34 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 19 Aug 2009 05:34:07 +0000 (07:34 +0200)
udev/udev-rules.c

index 3ca209a89131552f9258844c74ebf6165258924f..eeb71bc87b9d6eb0906b671bb7ab81f64495d79e 100644 (file)
@@ -1798,7 +1798,7 @@ struct udev_rules *udev_rules_new(struct udev *udev, int resolve_names)
                if (stat(filename, &statbuf) == 0 && statbuf.st_size > 0)
                        parse_file(rules, filename, filename_off);
                else
-                       info(udev, "can not read '%s'\n", filename);
+                       err(udev, "can not read '%s'\n", filename);
                udev_list_entry_delete(file_loop);
        }