libkmod-index: don't print an error if index doesn't exist
It's ok not to have the index files, so just print a DBG message instead
of an ERR.
diff --git a/libkmod/libkmod-index.c b/libkmod/libkmod-index.c
index 07f3b8c..2a5a26e 100644
--- a/libkmod/libkmod-index.c
+++ b/libkmod/libkmod-index.c
@@ -793,7 +793,7 @@
}
if ((fd = open(filename, O_RDONLY|O_CLOEXEC)) < 0) {
- ERR(ctx, "open(%s, O_RDONLY|O_CLOEXEC): %m\n", filename);
+ DBG(ctx, "open(%s, O_RDONLY|O_CLOEXEC): %m\n", filename);
goto fail_open;
}