Report an error when some .bin files do not exist
authorMarco d'Itri <md@linux.it>
Sat, 9 Feb 2019 23:00:31 +0000 (00:00 +0100)
committerMarco d'Itri <md@linux.it>
Sat, 9 Feb 2019 23:00:31 +0000 (00:00 +0100)
Bug-Debian: http://bugs.debian.org/684901

Bug-Debian: http://bugs.debian.org/684901
Gbp-Pq: Name verbose_missing_bin

libkmod/libkmod.c

index 69fe431aa4c80ec2ae782625c1d2c80d00b11605..d4673f109839e5482b3f9502478bfd85e4accac4 100644 (file)
@@ -511,7 +511,7 @@ static char *lookup_builtin_file(struct kmod_ctx *ctx, const char *name)
 
                idx = index_file_open(fn);
                if (idx == NULL) {
-                       DBG(ctx, "could not open builtin file '%s'\n", fn);
+                       ERR(ctx, "could not open builtin file '%s'\n", fn);
                        return NULL;
                }
 
@@ -583,7 +583,7 @@ char *kmod_search_moddep(struct kmod_ctx *ctx, const char *name)
 
        idx = index_file_open(fn);
        if (idx == NULL) {
-               DBG(ctx, "could not open moddep file '%s'\n", fn);
+               ERR(ctx, "could not open moddep file '%s'\n", fn);
                return NULL;
        }