summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
authorhunt <hunt>2005-10-18 04:30:46 +0000
committerhunt <hunt>2005-10-18 04:30:46 +0000
commit75eaeba72745c796c3d3ab0374b9f301ad7aae33 (patch)
tree65a02745f43e3a64a05ee72b81d40c83e216eff0 /tapsets.cxx
parent66fb474c1228612efd48af16cebbc319ad814e7d (diff)
downloadsystemtap-steved-75eaeba72745c796c3d3ab0374b9f301ad7aae33.tar.gz
systemtap-steved-75eaeba72745c796c3d3ab0374b9f301ad7aae33.tar.xz
systemtap-steved-75eaeba72745c796c3d3ab0374b9f301ad7aae33.zip
2005-10-17 Martin Hunt <hunt@redhat.com>
PR 1482 * tapsets.cxx (emit_registrations): On failure, don't forget to unregister probe 0;
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)
{