modules-load: initalize files to null
This commit is contained in:
parent
f2cc3753ce
commit
d42c44fb6d
|
@ -171,7 +171,7 @@ static int load_module(struct kmod_ctx *ctx, const char *m) {
|
||||||
|
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
int r = EXIT_FAILURE, k;
|
int r = EXIT_FAILURE, k;
|
||||||
char **files, **fn, **i;
|
char **files = NULL, **fn, **i;
|
||||||
struct kmod_ctx *ctx;
|
struct kmod_ctx *ctx;
|
||||||
|
|
||||||
if (argc > 1) {
|
if (argc > 1) {
|
||||||
|
|
Loading…
Reference in a new issue