zipl: rename COMMAND_LINE_SIZE to LEGACY_COMMAND_LINE_SIZE

Preparation to support command lines that are longer than 896 bytes.

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Reviewed-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Reviewed-by: Stefan Haberland <sth@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Sven Schnelle
2021-10-20 09:57:44 +02:00
committed by Jan Höppner
parent a5c04e5746
commit 8b3d3dd4bd
5 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -188,7 +188,7 @@ boot:
/* append 'BOOT_IMAGE=<num>' to parmline */
snprintf(endstring, sizeof(endstring), " BOOT_IMAGE=%u", value);
if ((strlen(cmd_line_extra) + strlen(endstring)) < COMMAND_LINE_SIZE)
if ((strlen(cmd_line_extra) + strlen(endstring)) < LEGACY_COMMAND_LINE_SIZE)
strcat(cmd_line_extra, endstring);
sclp_setup(SCLP_DISABLE);