diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-05 08:55:19 -0500 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-05 08:55:19 -0500 |
| commit | 190de2472aca200d33dea42d3a7e839a697dd02e (patch) | |
| tree | 1cfbec9b9c2477b4cd3b160f5fdae3ba373c9189 /tools/mkfs.hefs.cc | |
| parent | d88e68dab4518017e09709a325eb6259b1154b6e (diff) | |
chore: tools: improved tooling and security in chk.hefs, and mkfs.hefs.
chore: update README.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'tools/mkfs.hefs.cc')
| -rw-r--r-- | tools/mkfs.hefs.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mkfs.hefs.cc b/tools/mkfs.hefs.cc index 0f11142b..7016bf18 100644 --- a/tools/mkfs.hefs.cc +++ b/tools/mkfs.hefs.cc @@ -20,7 +20,7 @@ static std::u8string kDiskLabel; static size_t kDiskSectorSz = 512; int main(int argc, char** argv) { - if (argc < 2) { + if (argc != 10) { 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> " |
