summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2008-09-24 13:48:26 +0200
committerMark Wielaard <mjw@redhat.com>2008-09-24 13:48:26 +0200
commitc2581b3dabc520e9392e97ef6041ae928f99e927 (patch)
treeb2df6bdae6806cb82d7a5106d9b3f082f12d627b
parent7c6a40d0b943d10c0bea44181cfea13aa0923fe9 (diff)
downloadsystemtap-steved-c2581b3dabc520e9392e97ef6041ae928f99e927.tar.gz
systemtap-steved-c2581b3dabc520e9392e97ef6041ae928f99e927.tar.xz
systemtap-steved-c2581b3dabc520e9392e97ef6041ae928f99e927.zip
Correct dwfl_assert () implementation.
-rw-r--r--ChangeLog5
-rw-r--r--dwarf_wrappers.cxx2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0ee737c9..fad196bf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-09-24 Mark Wielaard <mjw@redhat.com>
+
+ * dwarf_wrappers.cxx (dwfl_assert(string,bool)): Call
+ dwfl_assert(string,int), not dwarf_assert().
+
2008-09-12 Dave Brolley <brolley@redhat.com>
* stap-client (staprun_PATH): Ensure that $first_stap is not empty.
diff --git a/dwarf_wrappers.cxx b/dwarf_wrappers.cxx
index 93cb36a2..4fd074ed 100644
--- a/dwarf_wrappers.cxx
+++ b/dwarf_wrappers.cxx
@@ -42,5 +42,5 @@ void dwarf_assert(const string& desc, int rc)
void dwfl_assert(const std::string& desc, bool condition)
{
if (!condition)
- dwarf_assert(desc, -1);
+ dwfl_assert(desc, -1);
}