diff options
author | Kay Sievers <kay@vrfy.org> | 2015-01-25 17:11:08 +0100 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2015-01-25 19:00:00 +0100 |
commit | 810d9d34dceab3aa16ae675b7a193b74d9ec2468 (patch) | |
tree | e9757982431bcf63698b5cc323e6b1feaf1cddd7 /src/efi/pefile.c | |
parent | d96381e90e5f1952ee6d7bf6e51daa2b344319af (diff) |
stub: accept custom kernel command line if not running in secure boot mode
Diffstat (limited to 'src/efi/pefile.c')
-rw-r--r-- | src/efi/pefile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/efi/pefile.c b/src/efi/pefile.c index 5d750e0..e6fedbc 100644 --- a/src/efi/pefile.c +++ b/src/efi/pefile.c @@ -154,7 +154,7 @@ EFI_STATUS pefile_locate_sections(EFI_FILE *dir, CHAR16 *path, CHAR8 **sections, goto out; } for (j = 0; sections[j]; j++) { - if (strcmpa(sections[j], sect.Name) != 0) + if (CompareMem(sect.Name, sections[j], strlena(sections[j])) != 0) continue; if (addrs) |