summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modalias.c4
-rw-r--r--pciusb.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/modalias.c b/modalias.c
index 2573839..2d17135 100644
--- a/modalias.c
+++ b/modalias.c
@@ -75,6 +75,10 @@ char *modalias_resolve_module(const char *modalias) {
set_default_alias_file();
get_version();
+
+ /* Makes module-init-tools quiet */
+ quiet = 1;
+
/* Returns the resolved alias, options */
parse_toplevel_config(NULL, &conf, 0, 0);
diff --git a/pciusb.c b/pciusb.c
index 7ad2aa7..6d4ccdc 100644
--- a/pciusb.c
+++ b/pciusb.c
@@ -9,6 +9,7 @@
#include <stdlib.h>
#include <string.h>
#include <dirent.h>
+#include <logging.h>
#include "common.h"
static void set_modules_from_modalias_file(struct pciusb_entry *e, char *modalias_path) {
@@ -104,6 +105,9 @@ extern int pciusb_find_modules(struct pciusb_entries *entries, const char *fpciu
char buf[2048];
int line;
+ /* Makes module-init-tools quiet */
+ quiet = 1;
+
f = fh_open(fpciusbtable);
for (line = 1; fh_gets(buf, sizeof(buf) - 1, &f); line++) {