diff options
| author | Amlal <amlal@nekernel.org> | 2025-05-08 08:54:48 +0200 |
|---|---|---|
| committer | Amlal <amlal@nekernel.org> | 2025-05-08 08:54:48 +0200 |
| commit | 8c0d7efb90585bf53b9f7496c2883af5ffa6ee68 (patch) | |
| tree | b4d5dbea3d8f273b0bbd6ef2d4b53d487890e95b /tooling | |
| parent | a8782019a20f5487494e436f79b876b57f7229e1 (diff) | |
feat(kernel): Fix warnings and bugs regarding the DebugOutput device.
Diffstat (limited to 'tooling')
| -rw-r--r-- | tooling/mkfs.hefs.cc | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/tooling/mkfs.hefs.cc b/tooling/mkfs.hefs.cc index 2ddc7484..c8243b5c 100644 --- a/tooling/mkfs.hefs.cc +++ b/tooling/mkfs.hefs.cc @@ -16,10 +16,11 @@ static size_t kSectorSize = 512; 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> -o <output_device>" - << "\n"; + 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> -o <output_device>" + << "\n"; return EXIT_FAILURE; } @@ -63,8 +64,7 @@ int main(int argc, char** argv) { std::ofstream output_device(output_path, std::ios::binary); if (!output_device.good()) { - mkfs::console_out() << "hefs: error: Unable to open output_device: " << output_path - << "\n"; + mkfs::console_out() << "hefs: error: Unable to open output_device: " << output_path << "\n"; return EXIT_FAILURE; } @@ -114,8 +114,7 @@ int main(int argc, char** argv) { output_device.flush(); output_device.close(); - mkfs::console_out() << "hefs: info: Wrote filesystem to output_device: " << output_path - << "\n"; + mkfs::console_out() << "hefs: info: Wrote filesystem to output_device: " << output_path << "\n"; return EXIT_SUCCESS; }
\ No newline at end of file |
