diff options
-rw-r--r-- | modalias.c | 4 | ||||
-rw-r--r-- | pciusb.c | 4 |
2 files changed, 8 insertions, 0 deletions
@@ -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); @@ -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++) { |