From ac9f8761feee777eeb0c95e8c0637c2082c1e4a9 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Thu, 8 Dec 2011 10:57:50 -0200 Subject: [PATCH] test-insmod: show the path libkmod is using --- test/test-insmod.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test-insmod.c b/test/test-insmod.c index 4cdb71c..aeb735a 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));