summaryrefslogtreecommitdiffhomepage
path: root/Boot
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-06-13 09:41:32 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-06-13 09:41:32 +0200
commit2f921f57ec48cc8c98882d7150a08c354b60bb72 (patch)
tree6b8a42c44883d835530a16ed5ff5eedf09d2bc27 /Boot
parenta0b3442fe9978093326dc29d0938f1116eadd147 (diff)
MHR-31: initial commit.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Boot')
-rw-r--r--Boot/BootKit/BootKit.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Boot/BootKit/BootKit.hxx b/Boot/BootKit/BootKit.hxx
index 3eab16cb..93b9986e 100644
--- a/Boot/BootKit/BootKit.hxx
+++ b/Boot/BootKit/BootKit.hxx
@@ -279,7 +279,7 @@ private:
/// before going to forks, we must check for the catalog name first.
if (blob->fKind == kNewFSCatalogKindDir &&
- blob->fFileName[strlen(blob->fFileName) - 1] != '/')
+ blob->fFileName[strlen(blob->fFileName) - 1] != kNewFSSeparator)
{
EFI::ThrowError(L"Developer-Error", L"This is caused by the developer of the bootloader.");
}