summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index 5211d403..c174db2f 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -2556,7 +2556,7 @@ dwarf_derived_probe::emit_registrations (translator_output* o,
o->newline(-1) << "}";
// if one failed, must roll back completed registations for this probe
- o->newline() << "if (unlikely (rc)) while (--i > 0)";
+ o->newline() << "if (unlikely (rc)) while (--i >= 0)";
o->indent(1);
if (has_return)
{