summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-09-16 10:45:40 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-09-16 10:45:40 +0200
commit4529911b8da55cdda1998b660d56468e1733f1a8 (patch)
tree7255da541a3070a6ab87ab804775c725be17fea8
parent116c96ec9ce1b350d852a585ce7b7b900203bc1d (diff)
downloadnlplug-4529911b8da55cdda1998b660d56468e1733f1a8.tar.bz2
nlplug-4529911b8da55cdda1998b660d56468e1733f1a8.tar.xz
nlplug: fix module loading
-rw-r--r--nlplug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nlplug.c b/nlplug.c
index 5e1ce83..9290852 100644
--- a/nlplug.c
+++ b/nlplug.c
@@ -79,7 +79,7 @@ int load_kmod(const char *modalias)
if (ctx == NULL) {
dbg("initializing kmod");
- ctx = kmod_new("/", NULL);
+ ctx = kmod_new(NULL, NULL);
if (ctx == NULL)
return -1;
kmod_set_log_fn(ctx, NULL, NULL);