summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Lin <glin@suse.com>2021-02-23 15:00:58 +0800
committerPeter Jones <pjones@redhat.com>2021-02-25 10:35:10 -0500
commite90fe4421f888a4734c2bf710bc61fc5af354ee3 (patch)
treecd596d76c454b137253132fd906e5943d05494ca
parenteb67bf2ad8adfa8fef12a5b336991a92d68f74b0 (diff)
downloadefi-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.h2
-rw-r--r--pe.c2
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_
diff --git a/pe.c b/pe.c
index 9da87530..9fa62d68 100644
--- a/pe.c
+++ b/pe.c
@@ -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;
}