summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-08-19 07:34:07 +0200
committerKay Sievers <kay.sievers@vrfy.org>2009-08-19 07:34:07 +0200
commit24d1fea8bd609f9eb7901efd7cba7f2dee05f557 (patch)
treecaad1145b84ec0409579301447eef33532435f1e
parent8e2470d68ef093d39907cc67dcee377b36ba77be (diff)
warn about non-readable or empty rules file
-rw-r--r--udev/udev-rules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udev-rules.c b/udev/udev-rules.c
index 3ca209a891..eeb71bc87b 100644
--- a/udev/udev-rules.c
+++ b/udev/udev-rules.c
@@ -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);
}