---
tools/kmod-modprobe.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/kmod-modprobe.c b/tools/kmod-modprobe.c
index 8286b9b..6ca94f2 100644
--- a/tools/kmod-modprobe.c
+++ b/tools/kmod-modprobe.c
@@ -856,7 +856,7 @@ static int insmod_alias(struct kmod_ctx *ctx, const char
*alias, const char *ext
if (list == NULL) {
LOG("Module %s not found.\n", alias);
- return err;
+ return -ENOENT;
}
if (use_blacklist) {
--
1.7.8.1
--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html