Downgrade log message: refcnt file may not exist
If kernel doesn't have support to unload modules,
/sys/module/<modname>/refcnt will not exist and that's ok.
Reported by: Sven Anders <anders@anduras.de>
diff --git a/libkmod/libkmod-module.c b/libkmod/libkmod-module.c
index d9934a3..199dc8d 100644
--- a/libkmod/libkmod-module.c
+++ b/libkmod/libkmod-module.c
@@ -1749,7 +1749,7 @@
fd = open(path, O_RDONLY|O_CLOEXEC);
if (fd < 0) {
err = -errno;
- ERR(mod->ctx, "could not open '%s': %s\n",
+ DBG(mod->ctx, "could not open '%s': %s\n",
path, strerror(errno));
return err;
}