diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-01-04 21:11:16 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-01-04 21:11:16 +0100 |
| commit | ede8280f2ad6cbb9152d4d55164912c32dfbeb97 (patch) | |
| tree | 969bac0d2859a825e56d64e4dd6b1d8fc6236540 /dev/Boot | |
| parent | 179b2fcaeb7d1ce1710c4957c2b9848f3f60bbb8 (diff) | |
FIX: NeFS.cc: Fix redudant and buggy filesystem catalog find code.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Boot')
| -rw-r--r-- | dev/Boot/BootKit/BootKit.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dev/Boot/BootKit/BootKit.h b/dev/Boot/BootKit/BootKit.h index 86b6e4c5..ec190724 100644 --- a/dev/Boot/BootKit/BootKit.h +++ b/dev/Boot/BootKit/BootKit.h @@ -264,7 +264,7 @@ namespace Boot /// @param blob_list the blobs. /// @param blob_cnt the number of blobs to write. /// @param partBlock the NeFS partition block. - Boolean WriteRootCatalog(BFileDescriptor* blob_list, SizeT blob_cnt, NFS_ROOT_PARTITION_BLOCK& partBlock) + Boolean WriteCatalogList(BFileDescriptor* blob_list, SizeT blob_cnt, NFS_ROOT_PARTITION_BLOCK& partBlock) { BFileDescriptor* blob = blob_list; Lba startLba = partBlock.StartCatalog; @@ -375,6 +375,8 @@ namespace Boot BTextWriter writer; writer.Write(L"BootZ: Drive has been formatted Successfully.\r"); + this->WriteCatalogList(blob_list, blob_cnt, partBlock); + return YES; } } // namespace Boot |
