diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-08-19 07:34:07 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2009-08-19 07:34:07 +0200 |
commit | 24d1fea8bd609f9eb7901efd7cba7f2dee05f557 (patch) | |
tree | caad1145b84ec0409579301447eef33532435f1e | |
parent | 8e2470d68ef093d39907cc67dcee377b36ba77be (diff) |
warn about non-readable or empty rules file
-rw-r--r-- | udev/udev-rules.c | 2 |
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); } |