[S390] remove duplicate nul-termination of string
strlcpy() does already NUL-terminate the destination string. Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
6faf250789
commit
ced2c8bcbc
|
@ -352,7 +352,6 @@ static void __init setup_boot_command_line(void)
|
|||
|
||||
/* copy arch command line */
|
||||
strlcpy(boot_command_line, COMMAND_LINE, ARCH_COMMAND_LINE_SIZE);
|
||||
boot_command_line[ARCH_COMMAND_LINE_SIZE - 1] = 0;
|
||||
|
||||
/* append IPL PARM data to the boot command line */
|
||||
if (MACHINE_IS_VM) {
|
||||
|
|
Loading…
Reference in a new issue