From: Lucas De Marchi Date: Tue, 27 Dec 2011 20:10:19 +0000 (-0200) Subject: Log paths if kmod_module_new_from_path() failed X-Git-Tag: v3~52 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ebaa7beb0a1be07b154e3ec9adba15d9cb2d7ca1;p=thirdparty%2Fkmod.git Log paths if kmod_module_new_from_path() failed --- diff --git a/libkmod/libkmod-module.c b/libkmod/libkmod-module.c index 5e7374f7..1ec29e5b 100644 --- a/libkmod/libkmod-module.c +++ b/libkmod/libkmod-module.c @@ -351,8 +351,8 @@ KMOD_EXPORT int kmod_module_new_from_path(struct kmod_ctx *ctx, else if (streq(m->path, abspath)) free(abspath); else { - ERR(ctx, "kmod_module '%s' already exists with different path\n", - name); + ERR(ctx, "kmod_module '%s' already exists with different path: new-path='%s' old-path='%s'\n", + name, abspath, m->path); free(abspath); return -EEXIST; }