projects
/
platform
/
upstream
/
kmod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b787b56
)
kmod-depmod: demote messages to WRN when non-critical files are missing
author
Lucas De Marchi
<lucas.demarchi@profusion.mobi>
Wed, 4 Jan 2012 22:53:10 +0000
(20:53 -0200)
committer
Lucas De Marchi
<lucas.demarchi@profusion.mobi>
Wed, 4 Jan 2012 23:02:20 +0000
(21:02 -0200)
tools/kmod-depmod.c
patch
|
blob
|
history
diff --git
a/tools/kmod-depmod.c
b/tools/kmod-depmod.c
index
a74dbcb
..
9d6761c
100644
(file)
--- 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;
}