diff options
author | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2011-12-08 10:57:50 -0200 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2011-12-08 11:15:24 -0200 |
commit | ac9f8761feee777eeb0c95e8c0637c2082c1e4a9 (patch) | |
tree | 6eb42e11b7b324b96804f5bd9a8b010cb9d3a266 /test | |
parent | 97a3ea9e9d1d6a9646e4dc37d653125dea3d8727 (diff) | |
download | kmod-ac9f8761feee777eeb0c95e8c0637c2082c1e4a9.tar.gz |
test-insmod: show the path libkmod is using
Diffstat (limited to 'test')
-rw-r--r-- | test/test-insmod.c | 3 |
1 files changed, 2 insertions, 1 deletions
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)); |