From 56406fdb0a26d3e40f26bdf426f51b26bc41f1ef Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Wed, 4 Jan 2012 20:53:10 -0200 Subject: [PATCH] kmod-depmod: demote messages to WRN when non-critical files are missing --- tools/kmod-depmod.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/kmod-depmod.c b/tools/kmod-depmod.c index a74dbcb..9d6761c 100644 --- a/tools/kmod-depmod.c +++ b/tools/kmod-depmod.c @@ -1438,7 +1438,7 @@ static void depmod_modules_sort(struct depmod *depmod) depmod->cfg->dirname); fp = fopen(order_file, "r"); if (fp == NULL) { - ERR("could not open %s: %m\n", order_file); + WRN("could not open %s: %m\n", order_file); return; } @@ -2109,7 +2109,7 @@ static int output_builtin_bin(struct depmod *depmod, FILE *out) in = fopen(infile, "r"); if (in == NULL) { int err = -errno; - ERR("could not open %s: %m\n", infile); + WRN("could not open %s: %m\n", infile); return err; } -- 2.7.4