summaryrefslogtreecommitdiffhomepage
path: root/Kernel/Sources/FileManager.cxx
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlal@softwarelabs.com>2024-06-16 12:32:15 +0200
committerAmlal EL Mahrouss <amlal@softwarelabs.com>2024-06-16 12:32:15 +0200
commit684197d4bcb66e94c1dbf37591ed2a984792e51d (patch)
treec0d086f05f3b59f847c7be1d06cde71e411f1da0 /Kernel/Sources/FileManager.cxx
parent84aea90cff9952dbafcf147b7741c1985622a8d2 (diff)
MHR-31: Add ARM64 executable type for newoskrnl's PEF implementation.
Signed-off-by: Amlal EL Mahrouss <amlal@softwarelabs.com>
Diffstat (limited to 'Kernel/Sources/FileManager.cxx')
-rw-r--r--Kernel/Sources/FileManager.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Sources/FileManager.cxx b/Kernel/Sources/FileManager.cxx
index 6e61a65d..ee285ae1 100644
--- a/Kernel/Sources/FileManager.cxx
+++ b/Kernel/Sources/FileManager.cxx
@@ -90,7 +90,7 @@ namespace NewOS
NEWOS_UNUSED(flags);
- auto dataForkName = "FileData";
+ auto dataForkName = kNewFSDataFork;
if ((reinterpret_cast<NewCatalog*>(node))->Kind == kNewFSCatalogKindFile)
fImpl->WriteCatalog(reinterpret_cast<NewCatalog*>(node), data, size,
@@ -112,7 +112,7 @@ namespace NewOS
NEWOS_UNUSED(flags);
- auto dataForkName = "FileData";
+ auto dataForkName = kNewFSDataFork;
if ((reinterpret_cast<NewCatalog*>(node))->Kind == kNewFSCatalogKindFile)
return fImpl->ReadCatalog(reinterpret_cast<NewCatalog*>(node), sz,