commit | f48b01cb016921cf0f58bd6be676c17042923719 | [log] [tgz] |
---|---|---|
author | Michael Brown <mcb30@ipxe.org> | Thu Oct 27 12:58:33 2022 +0100 |
committer | Michael Brown <mcb30@ipxe.org> | Thu Oct 27 13:05:35 2022 +0100 |
tree | 69a56b014a97ebeea5bca17618246fe1c96a0d39 | |
parent | 8fce26730c4df7a9792bb144c75c2c5b998c91af [diff] |
[bzimage] Fix parsing of "vga=..." when not at end of command line bzimage_parse_cmdline() uses strcmp() to identify the named "vga=..." kernel command line option values, which will give a false negative if the option is not last on the command line. Fix by temporarily changing the relevant command line separator (if any) to a NUL terminator. Debugged-by: Simon Rettberg <simon.rettberg@rz.uni-freiburg.de> Signed-off-by: Michael Brown <mcb30@ipxe.org>