]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
test-insmod: show the path libkmod is using
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Thu, 8 Dec 2011 12:57:50 +0000 (10:57 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Thu, 8 Dec 2011 13:15:24 +0000 (11:15 -0200)
test/test-insmod.c

index 4cdb71c5d3a8e0757a422092ad41431cd7a71524..aeb735ab5427a69b7eecfba50316f5f08c78461c 100644 (file)
@@ -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));