summaryrefslogtreecommitdiffhomepage
path: root/tooling
diff options
context:
space:
mode:
Diffstat (limited to 'tooling')
-rw-r--r--tooling/fsck.hefs.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tooling/fsck.hefs.cc b/tooling/fsck.hefs.cc
index 950a709b..e59cacc0 100644
--- a/tooling/fsck.hefs.cc
+++ b/tooling/fsck.hefs.cc
@@ -43,7 +43,7 @@ int main(int argc, char** argv) {
return EXIT_FAILURE;
}
- if (boot_node.badSectors >= kMkFsMaxBadSectors) {
+ if (boot_node.badSectors > kMkFsMaxBadSectors) {
mkfs::console_out() << "hefs: error: HeFS disk has too much bad sectors: " << opt_disk << "\n";
return EXIT_FAILURE;
}