diff --git a/arch/m68k/atari/config.c b/arch/m68k/atari/config.c index bd96702a1ad0977334a31ea21d8c782c7ddf1f00..4fcc4b1df1c0f2b4d417a9ce96d29dc740755126 100644 --- a/arch/m68k/atari/config.c +++ b/arch/m68k/atari/config.c @@ -148,7 +148,7 @@ int __init atari_parse_bootinfo(const struct bi_record *record) /* Parse the Atari-specific switches= option. */ static int __init atari_switches_setup(char *str) { - char switches[strlen(str) + 1]; + char switches[COMMAND_LINE_SIZE]; char *p; int ovsc_shift; char *args = switches;