From 4a80c0e7eaa36817f52e0f3cd6d8c8e07bf860dc Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 6 May 2025 21:07:48 +0200 Subject: dev(kernel): Fix typo of `kHeFSDefaultVoluneName` to `kHeFSDefaultVolumeName` in HeFS. --- tooling/hefs.h | 2 +- tooling/mkfs.hefs.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tooling') diff --git a/tooling/hefs.h b/tooling/hefs.h index ded6cbef..f281e7a3 100644 --- a/tooling/hefs.h +++ b/tooling/hefs.h @@ -16,7 +16,7 @@ #define kHeFSFileNameLen (256U) #define kHeFSPartNameLen (128U) -#define kHeFSDefaultVoluneName u8"HeFS Volume" +#define kHeFSDefaultVolumeName u8"HeFS Volume" namespace mkfs::hefs { diff --git a/tooling/mkfs.hefs.cc b/tooling/mkfs.hefs.cc index bc1f3d3c..5a706646 100644 --- a/tooling/mkfs.hefs.cc +++ b/tooling/mkfs.hefs.cc @@ -11,7 +11,7 @@ static size_t kDiskSize = 1024 * 1024 * 1024 * 4UL; static uint16_t kVersion = kHeFSVersion; -static std::u8string kLabel = kHeFSDefaultVoluneName; +static std::u8string kLabel = kHeFSDefaultVolumeName; static size_t kSectorSize = 512; int main(int argc, char** argv) { @@ -43,7 +43,7 @@ int main(int argc, char** argv) { kSectorSize = std::strtol(mkfs::get_option(args, "-s").data(), nullptr, 10); kLabel = mkfs::get_option(args_wide, u8"-L"); - if (kLabel.empty()) kLabel = kHeFSDefaultVoluneName; + if (kLabel.empty()) kLabel = kHeFSDefaultVolumeName; kDiskSize = std::strtol(mkfs::get_option(args, "-S").data(), nullptr, 10) * 1024 * 1024 * 1024; -- cgit v1.2.3