summaryrefslogtreecommitdiff
path: root/src/modules-load
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules-load')
-rw-r--r--src/modules-load/modules-load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules-load/modules-load.c b/src/modules-load/modules-load.c
index 6aeaf459af..e72e382e19 100644
--- a/src/modules-load/modules-load.c
+++ b/src/modules-load/modules-load.c
@@ -171,7 +171,7 @@ static int load_module(struct kmod_ctx *ctx, const char *m) {
int main(int argc, char *argv[]) {
int r = EXIT_FAILURE, k;
- char **files, **fn, **i;
+ char **files = NULL, **fn, **i;
struct kmod_ctx *ctx;
if (argc > 1) {