diff options
| author | 0xf00sec <159052166+0xf00sec@users.noreply.github.com> | 2025-06-02 21:58:35 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-02 21:58:35 +0000 |
| commit | f7a0540155af2abe04da24ab44df853119baf668 (patch) | |
| tree | c41e4769bd7e8e97142669f333eff610b25773b1 /tooling | |
| parent | 5d57377d3b1e5719ccef1baabbd1c48ff68861b8 (diff) | |
Unsafe mem-op in mkfs.hefs.
=)
Diffstat (limited to 'tooling')
| -rw-r--r-- | tooling/mkfs.hefs.cc | 7 |
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; } |
