summaryrefslogtreecommitdiff
path: root/src/util/check_return.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/check_return.h')
-rw-r--r--src/util/check_return.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/check_return.h b/src/util/check_return.h
index 89ed4bc..bfdadf5 100644
--- a/src/util/check_return.h
+++ b/src/util/check_return.h
@@ -138,7 +138,7 @@
// - Programming errors (assertion failures, invariant violations)
// - Corrupted state that cannot be recovered
// - Internal consistency checks
-// - Example: FATAL_CHECK(idx >= size, "Index out of bounds: %d >= %d", idx,
+// - Example: FATAL_CHECK(idx < size, "Index out of bounds: %d >= %d", idx,
// size)
//
// Use CHECK_RETURN for: