diff options
author | Michael Gmelin <grembo@FreeBSD.org> | 2022-09-05 15:56:11 +0000 |
---|---|---|
committer | Michael Gmelin <grembo@FreeBSD.org> | 2022-09-06 11:39:08 +0000 |
commit | 2b3543dbb1b3fa7c2280d71c017e3e0304e77d54 (patch) | |
tree | 1881af6959f3d8b9b386640c448687c60271090b | |
parent | cfa1a13087096fe93d7a2976015ccda243476a64 (diff) | |
download | src-2b3543dbb1b3fa7c2280d71c017e3e0304e77d54.tar.gz src-2b3543dbb1b3fa7c2280d71c017e3e0304e77d54.zip |
stand: Parse all arguments passed by UEFI
Approved by: imp
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D36457
-rw-r--r-- | stand/efi/loader/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stand/efi/loader/main.c b/stand/efi/loader/main.c index a6fccf9e93c5..5edc06c9e0d5 100644 --- a/stand/efi/loader/main.c +++ b/stand/efi/loader/main.c @@ -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); } |