summaryrefslogtreecommitdiffhomepage
path: root/tools/mkfs.hefs.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mkfs.hefs.cc')
-rw-r--r--tools/mkfs.hefs.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/mkfs.hefs.cc b/tools/mkfs.hefs.cc
index 4be6ed04..f4cf77ea 100644
--- a/tools/mkfs.hefs.cc
+++ b/tools/mkfs.hefs.cc
@@ -32,7 +32,7 @@ int main(int argc, char** argv) {
std::string args = mkfs::detail::build_args(argc, argv);
auto output_path = mkfs::get_option<char>(args, "o");
-
+
if (output_path.empty()) {
mkfs::console_out() << "hefs: error: Missing -o <output_device> argument.\n";
return EXIT_FAILURE;
@@ -199,7 +199,6 @@ int main(int argc, char** argv) {
return EXIT_FAILURE;
}
-
output_device.put(0);
output_device.flush();