]> git.ipfire.org Git - thirdparty/kmod.git/commit
modprobe: handle -ENOENT return from init_module
authorDave Reisner <dreisner@archlinux.org>
Mon, 16 Apr 2012 14:37:32 +0000 (10:37 -0400)
committerDave Reisner <dreisner@archlinux.org>
Mon, 16 Apr 2012 14:37:32 +0000 (10:37 -0400)
commitccb64d1eade3f9f0e325ba69de586dbd4bfb8241
tree3b61a85688301dda81f4eac4ad1fb93d15bd562c
parent471a7d00893809be2bff6cd6cea83666fd4158af
modprobe: handle -ENOENT return from init_module

init_module returns -ENOENT when the module failed to load because of a
bad parameter or unknown symbol. Throw a more descriptive error message
than the generic "No such file or directory" to alert the user.

Fixes Debian bug 668216.
tools/kmod-modprobe.c