diff options
author | Hendrik Brueckner <brueckner@linux.vnet.ibm.com> | 2009-03-26 17:24:34 +0300 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2009-03-26 17:24:23 +0300 |
commit | ced2c8bcbc5082bc112d7c7410b3f5380c77e306 (patch) | |
tree | ef4afd172bdc2e0b3b7fbe2630725b8ff665a9fa /arch/s390/kernel/early.c | |
parent | 6faf250789dfd35146a71402f9be245be82bf01e (diff) | |
download | linux-ced2c8bcbc5082bc112d7c7410b3f5380c77e306.tar.xz |
[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>
Diffstat (limited to 'arch/s390/kernel/early.c')
-rw-r--r-- | arch/s390/kernel/early.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/s390/kernel/early.c b/arch/s390/kernel/early.c index d61eb3334edf..4d221c81c849 100644 --- a/arch/s390/kernel/early.c +++ b/arch/s390/kernel/early.c @@ -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) { |