diff options
| author | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-02-05 11:12:42 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-02-05 11:12:42 +0100 |
| commit | 81144dd05a7c01701c3bf7b04e345dccfef2bf82 (patch) | |
| tree | 163bd79816e97ca31484df86c008af3f9a803ffd /Private/Source/PEFCodeManager.cxx | |
| parent | f8c9b81ff120160af60af6e9d44cba338aceb65a (diff) | |
HCR-11:
Kernel: Improvements and more.
Bootloader: Now works on real hardware (previous commit.)
Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Private/Source/PEFCodeManager.cxx')
| -rw-r--r-- | Private/Source/PEFCodeManager.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Private/Source/PEFCodeManager.cxx b/Private/Source/PEFCodeManager.cxx index efebef48..347f7f7a 100644 --- a/Private/Source/PEFCodeManager.cxx +++ b/Private/Source/PEFCodeManager.cxx @@ -43,7 +43,7 @@ PEFLoader::PEFLoader(const VoidPtr blob) : fCachedBlob(nullptr) { PEFLoader::PEFLoader(const char *path) : fCachedBlob(nullptr), fBad(false) { OwnPtr<FileStream<char>> file; - file.New(const_cast<Char *>(path)); + file.New(const_cast<Char *>(path), kRestrictRB); if (StringBuilder::Equals(file->MIME(), this->MIME())) { fPath = StringBuilder::Construct(path).Leak(); |
