summaryrefslogtreecommitdiffhomepage
path: root/dev/ZBA
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-08-22 08:48:37 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-08-22 08:48:37 +0200
commit5d38a6302720eb1d2783c2067965ade316cc92de (patch)
tree906b56ec92e9075181494e8a4012ebde72d22175 /dev/ZBA
parentb95b1fc42d371b08aa82fea8e92aa04b2ef5631f (diff)
[REFACTOR] use Char instead of builtin char.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/ZBA')
-rw-r--r--dev/ZBA/BootKit/BootKit.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/dev/ZBA/BootKit/BootKit.hxx b/dev/ZBA/BootKit/BootKit.hxx
index c4d415f4..b81f2846 100644
--- a/dev/ZBA/BootKit/BootKit.hxx
+++ b/dev/ZBA/BootKit/BootKit.hxx
@@ -214,7 +214,7 @@ public:
/// @param Number of blobs.
/// @retval True disk has been formatted.
/// @retval False failed to format.
- Boolean Format(const char* partName, BFileDescriptor* fileBlobs, SizeT blobCount);
+ Boolean Format(const Char* partName, BFileDescriptor* fileBlobs, SizeT blobCount);
/// @brief check if partition is good.
Bool IsPartitionValid() noexcept
@@ -236,7 +236,7 @@ public:
return false;
}
- writer.Write(L"newosldr: disk size: ").Write(this->fDiskDev.GetDiskSize()).Write(L"\r");
+ writer.Write(L"newosldr: Disk size: ").Write(this->fDiskDev.GetDiskSize()).Write(L"\r");
if (blockPart->DiskSize != this->fDiskDev.GetDiskSize() ||
blockPart->DiskSize < 1 ||
@@ -250,7 +250,7 @@ public:
return false;
}
- writer.Write(L"newosldr: partition name: ").Write(blockPart->PartitionName).Write(L" is healthy.\r");
+ writer.Write(L"newosldr: Partition name: ").Write(blockPart->PartitionName).Write(L" is healthy.\r");
return true;
}
@@ -285,7 +285,7 @@ private:
--partBlock.FreeSectors;
writer.Write(L"newosldr: Wrote directory: ").Write(blob->fFileName).Write(L"\r");
- writer.Write(L"newosldr: disk formatted.\r");
+ writer.Write(L"newosldr: Disk formatted.\r");
CopyMem(catalogKind->Name, blob->fFileName, StrLen(blob->fFileName));
@@ -308,7 +308,7 @@ private:
/// @retval True disk has been formatted.
/// @retval False failed to format.
template <typename BootDev>
-inline Boolean BDiskFormatFactory<BootDev>::Format(const char* partName,
+inline Boolean BDiskFormatFactory<BootDev>::Format(const Char* partName,
BDiskFormatFactory::BFileDescriptor* fileBlobs,
SizeT blobCount)
{