From 73298175ea05793b48bd7ddfc6b1acdd88dd88fc Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Mon, 13 Feb 2012 21:58:36 -0200 Subject: [PATCH] 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. --- libkmod/libkmod-index.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libkmod/libkmod-index.c b/libkmod/libkmod-index.c index 07f3b8c7..2a5a26e3 100644 --- a/libkmod/libkmod-index.c +++ b/libkmod/libkmod-index.c @@ -793,7 +793,7 @@ struct index_mm *index_mm_open(struct kmod_ctx *ctx, const char *filename, } 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; } -- 2.47.2