diff options
| author | Gary Lin <glin@suse.com> | 2021-02-23 15:00:58 +0800 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2021-02-25 10:35:10 -0500 |
| commit | e90fe4421f888a4734c2bf710bc61fc5af354ee3 (patch) | |
| tree | cd596d76c454b137253132fd906e5943d05494ca | |
| parent | eb67bf2ad8adfa8fef12a5b336991a92d68f74b0 (diff) | |
| download | efi-boot-shim-e90fe4421f888a4734c2bf710bc61fc5af354ee3.tar.gz efi-boot-shim-e90fe4421f888a4734c2bf710bc61fc5af354ee3.zip | |
sbat: fix the residual "resource section" for SBAT
Signed-off-by: Gary Lin <glin@suse.com>
| -rw-r--r-- | include/sbat.h | 2 | ||||
| -rw-r--r-- | pe.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/sbat.h b/include/sbat.h index 69f4e78a..5b64f20a 100644 --- a/include/sbat.h +++ b/include/sbat.h @@ -1,6 +1,6 @@ // SPDX-License-Identifier: BSD-2-Clause-Patent /* - * sbat.c - parse SBAT data from the .rsrc section data + * sbat.c - parse SBAT data from the .sbat section data */ #ifndef SBAT_H_ @@ -1033,7 +1033,7 @@ handle_image (void *data, unsigned int datasize, } } else if (CompareMem(Section->Name, ".sbat\0\0\0", 8) == 0) { if (SBATBase || SBATSize) { - perror(L"Image has multiple resource sections\n"); + perror(L"Image has multiple SBAT sections\n"); return EFI_UNSUPPORTED; } |
