From 24d1fea8bd609f9eb7901efd7cba7f2dee05f557 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Wed, 19 Aug 2009 07:34:07 +0200 Subject: [PATCH] warn about non-readable or empty rules file --- udev/udev-rules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/udev/udev-rules.c b/udev/udev-rules.c index 3ca209a8..eeb71bc8 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); } -- 2.39.5