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

Commit 381fdd62 authored by Angelo Dureghello's avatar Angelo Dureghello Committed by Greg Ungerer
Browse files

m68k: fix command-line parsing when passed from u-boot



This patch fixes command_line array zero-terminated
one byte over the end of the array, causing boot to hang.

Signed-off-by: default avatarAngelo Dureghello <angelo@sysam.it>
Signed-off-by: default avatarGreg Ungerer <gerg@linux-m68k.org>
parent 35a7f35a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -102,5 +102,5 @@ __init void process_uboot_commandline(char *commandp, int size)
	}

	parse_uboot_commandline(commandp, len);
	commandp[size - 1] = 0;
	commandp[len - 1] = 0;
}