stand: Parse all arguments passed by UEFI

Approved by:	imp
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D36457
This commit is contained in:
Michael Gmelin 2022-09-05 17:56:11 +02:00
parent cfa1a13087
commit 2b3543dbb1

View File

@ -720,7 +720,7 @@ parse_args(int argc, CHAR16 *argv[])
* method is flawed for non-ASCII characters).
*/
howto = 0;
for (i = 1; i < argc; i++) {
for (i = 0; i < argc; i++) {
cpy16to8(argv[i], var, sizeof(var));
howto |= boot_parse_arg(var);
}