summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--modalias.c2
-rw-r--r--pciusb.c2
3 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index fb6028c..8547da3 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
- make sure to behave properly on errors in libmodprobe (#3309)
+- use saner APIĀ for quieting libmodprobe
Version 0.11.2 - 18 October 2011, Thierry Vignaud
diff --git a/modalias.c b/modalias.c
index a235c09..29646e3 100644
--- a/modalias.c
+++ b/modalias.c
@@ -77,7 +77,7 @@ char *modalias_resolve_module(const char *modalias) {
get_version();
/* Makes module-init-tools quiet */
- quiet = 1;
+ set_quiet(1);
/* Returns the resolved alias, options */
parse_toplevel_config(NULL, &conf, 0, 0);
diff --git a/pciusb.c b/pciusb.c
index 6d4ccdc..44ea39a 100644
--- a/pciusb.c
+++ b/pciusb.c
@@ -106,7 +106,7 @@ extern int pciusb_find_modules(struct pciusb_entries *entries, const char *fpciu
int line;
/* Makes module-init-tools quiet */
- quiet = 1;
+ set_quiet(1);
f = fh_open(fpciusbtable);