diff options
Diffstat (limited to 'scripts/mod/modpost.c')
-rw-r--r-- | scripts/mod/modpost.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index c2ebdc788f4c..3b405c726ec5 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c | |||
@@ -2212,7 +2212,7 @@ int main(int argc, char **argv) | |||
2212 | err = 0; | 2212 | err = 0; |
2213 | 2213 | ||
2214 | for (mod = modules; mod; mod = mod->next) { | 2214 | for (mod = modules; mod; mod = mod->next) { |
2215 | char fname[strlen(mod->name) + 10]; | 2215 | char fname[PATH_MAX]; |
2216 | 2216 | ||
2217 | if (mod->skip) | 2217 | if (mod->skip) |
2218 | continue; | 2218 | continue; |