diff options
author | hunt <hunt> | 2005-10-18 04:30:46 +0000 |
---|---|---|
committer | hunt <hunt> | 2005-10-18 04:30:46 +0000 |
commit | 75eaeba72745c796c3d3ab0374b9f301ad7aae33 (patch) | |
tree | 65a02745f43e3a64a05ee72b81d40c83e216eff0 /tapsets.cxx | |
parent | 66fb474c1228612efd48af16cebbc319ad814e7d (diff) | |
download | systemtap-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.cxx | 2 |
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) { |