diff options
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/kernel/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c index 03739813d3bf..50c5210fbc64 100644 --- a/arch/s390/kernel/setup.c +++ b/arch/s390/kernel/setup.c | |||
@@ -740,7 +740,7 @@ setup_arch(char **cmdline_p) | |||
740 | #endif /* CONFIG_64BIT */ | 740 | #endif /* CONFIG_64BIT */ |
741 | 741 | ||
742 | /* Save unparsed command line copy for /proc/cmdline */ | 742 | /* Save unparsed command line copy for /proc/cmdline */ |
743 | strlcpy(saved_command_line, COMMAND_LINE, COMMAND_LINE_SIZE); | 743 | strlcpy(boot_command_line, COMMAND_LINE, COMMAND_LINE_SIZE); |
744 | 744 | ||
745 | *cmdline_p = COMMAND_LINE; | 745 | *cmdline_p = COMMAND_LINE; |
746 | *(*cmdline_p + COMMAND_LINE_SIZE - 1) = '\0'; | 746 | *(*cmdline_p + COMMAND_LINE_SIZE - 1) = '\0'; |