diff options
author | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2011-11-24 16:41:01 -0200 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2011-11-24 23:20:42 -0200 |
commit | 221631d5118b09a57bc416ebe64b856bffb97f5e (patch) | |
tree | 63cf8bb770f863892ccdd6709e06df7bb0dedbca /test | |
parent | 423f856ad9b37e00036c3b07e6f2f79c0e491257 (diff) | |
download | kmod-221631d5118b09a57bc416ebe64b856bffb97f5e.tar.gz |
Accept dir where we should lookup for modules
Diffstat (limited to 'test')
-rw-r--r-- | test/test-init.c | 2 | ||||
-rw-r--r-- | test/test-loaded.c | 2 | ||||
-rw-r--r-- | test/test-rmmod.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/test/test-init.c b/test/test-init.c index 140b669..18317aa 100644 --- a/test/test-init.c +++ b/test/test-init.c @@ -10,7 +10,7 @@ int main(int argc, char *argv[]) { struct kmod_ctx *ctx; - ctx = kmod_new(); + ctx = kmod_new(NULL); if (ctx == NULL) exit(EXIT_FAILURE); diff --git a/test/test-loaded.c b/test/test-loaded.c index c81c288..e5cfe13 100644 --- a/test/test-loaded.c +++ b/test/test-loaded.c @@ -15,7 +15,7 @@ int main(int argc, char *argv[]) struct kmod_list *list, *itr; int err; - ctx = kmod_new(); + ctx = kmod_new(NULL); if (ctx == NULL) exit(EXIT_FAILURE); diff --git a/test/test-rmmod.c b/test/test-rmmod.c index 759743e..d7690b3 100644 --- a/test/test-rmmod.c +++ b/test/test-rmmod.c @@ -19,7 +19,7 @@ int main(int argc, char *argv[]) if (argc == 2) modname = argv[1]; - ctx = kmod_new(); + ctx = kmod_new(NULL); if (ctx == NULL) exit(EXIT_FAILURE); |