summaryrefslogtreecommitdiffhomepage
path: root/tooling
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-05-06 21:07:48 +0200
committerGitHub <noreply@github.com>2025-05-06 21:07:48 +0200
commit4a80c0e7eaa36817f52e0f3cd6d8c8e07bf860dc (patch)
tree68b118c8c1897388dc24cd25db5f4bfc9b8efc1e /tooling
parented6c7d2e771da75c02a7f96644baab407bcf85e5 (diff)
dev(kernel): Fix typo of `kHeFSDefaultVoluneName` to `kHeFSDefaultVolumeName` in HeFS.
Diffstat (limited to 'tooling')
-rw-r--r--tooling/hefs.h2
-rw-r--r--tooling/mkfs.hefs.cc4
2 files changed, 3 insertions, 3 deletions
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<char>(args, "-s").data(), nullptr, 10);
kLabel = mkfs::get_option<char8_t>(args_wide, u8"-L");
- if (kLabel.empty()) kLabel = kHeFSDefaultVoluneName;
+ if (kLabel.empty()) kLabel = kHeFSDefaultVolumeName;
kDiskSize =
std::strtol(mkfs::get_option<char>(args, "-S").data(), nullptr, 10) * 1024 * 1024 * 1024;