From: Lucas De Marchi Date: Thu, 8 Dec 2011 12:57:50 +0000 (-0200) Subject: test-insmod: show the path libkmod is using X-Git-Tag: v1~71 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ac9f8761feee777eeb0c95e8c0637c2082c1e4a9;p=thirdparty%2Fkmod.git test-insmod: show the path libkmod is using --- diff --git a/test/test-insmod.c b/test/test-insmod.c index 4cdb71c5..aeb735ab 100644 --- a/test/test-insmod.c +++ b/test/test-insmod.c @@ -34,7 +34,8 @@ int main(int argc, char *argv[]) exit(EXIT_FAILURE); } - printf("Trying insmod '%s' (%s)\n", kmod_module_get_name(mod), path); + printf("Trying insmod '%s' (%s)\n", kmod_module_get_name(mod), + kmod_module_get_path(mod)); err = kmod_module_insert_module(mod, 0); if (err < 0) { fprintf(stderr, "%s\n", strerror(-err));