]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
Change error message to reflect reality
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Wed, 21 Dec 2011 01:39:56 +0000 (23:39 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Wed, 21 Dec 2011 01:48:27 +0000 (23:48 -0200)
libkmod/libkmod-module.c

index 227136906f445c2b50232d8b30b58539682eeb3a..58787f6921e0a03e72b7f08c041f75e1250e2909 100644 (file)
@@ -730,7 +730,7 @@ KMOD_EXPORT int kmod_module_insert_module(struct kmod_module *mod,
 
        path = kmod_module_get_path(mod);
        if (path == NULL) {
-               ERR(mod->ctx, "Not supported to load a module by name yet\n");
+               ERR(mod->ctx, "Could not find module by name='%s'\n", mod->name);
                return -ENOSYS;
        }