From 646c8548b99fef2ed3a9a111f1230529e11f4210 Mon Sep 17 00:00:00 2001 From: Marco d'Itri Date: Sun, 10 Feb 2019 00:00:31 +0100 Subject: [PATCH] Report an error when some .bin files do not exist Bug-Debian: http://bugs.debian.org/684901 Bug-Debian: http://bugs.debian.org/684901 Gbp-Pq: Name verbose_missing_bin --- libkmod/libkmod.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libkmod/libkmod.c b/libkmod/libkmod.c index 69fe431..d4673f1 100644 --- a/libkmod/libkmod.c +++ b/libkmod/libkmod.c @@ -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; } -- 2.30.2