summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
author0xf00sec <159052166+0xf00sec@users.noreply.github.com>2025-06-02 21:58:35 +0000
committerGitHub <noreply@github.com>2025-06-02 21:58:35 +0000
commitf7a0540155af2abe04da24ab44df853119baf668 (patch)
treec41e4769bd7e8e97142669f333eff610b25773b1
parent5d57377d3b1e5719ccef1baabbd1c48ff68861b8 (diff)
Unsafe mem-op in mkfs.hefs.
=)
-rw-r--r--tooling/mkfs.hefs.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/tooling/mkfs.hefs.cc b/tooling/mkfs.hefs.cc
index 4a9ab4dd..ef6ceb32 100644
--- a/tooling/mkfs.hefs.cc
+++ b/tooling/mkfs.hefs.cc
@@ -55,9 +55,10 @@ static std::string build_args(int argc, char** argv) {
int main(int argc, char** argv) {
if (argc < 2) {
mkfs::console_out()
- << "hefs: usage: mkfs.hefs -L <label> -s <sector_size> -b <ind_start> -e <ind_end> "
- "-bs <block_start> -be <block_end> -is <in_start> -ie <in_end> "
- "-S <disk_size_GB> -o <output_device>\n";
+ << "hefs: usage: mkfs.hefs -L=<label> -s=<sector_size> -b=<ind_start> -e=<ind_end> "
+ "-bs=<block_start> -be=<block_end> -is=<in_start> -ie=<in_end> "
+ "-S=<disk_size_GB> -o=<output_device>\n";
+
return EXIT_FAILURE;
}