MIPS: Replace all usages of CL_SIZE by COMMAND_LINE_SIZE
[firefly-linux-kernel-4.4.55.git] / arch / mips / lasat / prom.c
index 6acc6cb85f0ae8032e19af25dc85a79cf05a3760..20fde19a5fbf83480d428fb803acacdb8fe45b07 100644 (file)
@@ -100,8 +100,8 @@ void __init prom_init(void)
 
        /* Get the command line */
        if (argc > 0) {
-               strncpy(arcs_cmdline, argv[0], CL_SIZE-1);
-               arcs_cmdline[CL_SIZE-1] = '\0';
+               strncpy(arcs_cmdline, argv[0], COMMAND_LINE_SIZE-1);
+               arcs_cmdline[COMMAND_LINE_SIZE-1] = '\0';
        }
 
        /* Set the I/O base address */