Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ced2c8bc authored by Hendrik Brueckner's avatar Hendrik Brueckner Committed by Martin Schwidefsky
Browse files

[S390] remove duplicate nul-termination of string



strlcpy() does already NUL-terminate the destination string.

Signed-off-by: default avatarHendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 6faf2507
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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) {