test-insmod: show the path libkmod is using
This commit is contained in:
parent
97a3ea9e9d
commit
ac9f8761fe
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue