summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVáclav Pavlín <vpavlin@redhat.com>2012-09-21 15:03:28 +0200
committerLennart Poettering <lennart@poettering.net>2012-09-21 16:11:07 +0200
commitd42c44fb6dd926271bfd56157114ba9d29935ea7 (patch)
treeaca250573251369d62965945fc88c4f4bbeac36e /src
parentf2cc3753ce0e85960f0299855c3b98ba60efa580 (diff)
modules-load: initalize files to null
Diffstat (limited to 'src')
-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) {