diff options
author | Thierry Vignaud <tv@mageia.org> | 2011-11-21 18:47:27 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2011-11-21 18:47:27 +0000 |
commit | f43090757d699a396c17db668fec3f57e35adabc (patch) | |
tree | 7f9f0a45e130eac0383945339931c1ebab42bc0c | |
parent | 57cb1fab7ef3c7f970a9154d6cc2355dcb76b727 (diff) | |
download | ldetect-f43090757d699a396c17db668fec3f57e35adabc.tar ldetect-f43090757d699a396c17db668fec3f57e35adabc.tar.gz ldetect-f43090757d699a396c17db668fec3f57e35adabc.tar.bz2 ldetect-f43090757d699a396c17db668fec3f57e35adabc.tar.xz ldetect-f43090757d699a396c17db668fec3f57e35adabc.zip |
(modalias_resolve_module) make sure to behave properly on errors in libmodprobe (#3309)
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | modalias.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,3 +1,5 @@ +- make sure to behave properly on errors in libmodprobe (#3309) + Version 0.11.2 - 18 October 2011, Thierry Vignaud - adapt to new module-init-tools-3.16's API @@ -82,7 +82,7 @@ char *modalias_resolve_module(const char *modalias) { /* Returns the resolved alias, options */ parse_toplevel_config(NULL, &conf, 0, 0); - errfn_t error; + errfn_t error = mod_warn; aliases = find_matching_aliases(modalias, "", &conf, dirname, error, mit_dry_run, &list); /* only load blacklisted modules with specific request (no alias) */ |