summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Moore <moore@blackbox.bricoworks.com>2008-06-11 16:44:45 +0200
committerTim Moore <moore@blackbox.bricoworks.com>2008-06-11 16:48:45 +0200
commit8f5a3d9e3c6985f655495d133c8a2989ce91fd4d (patch)
treed16a84b8a5e2411f6acf5718fab0f87a344fcc99
parentab54fa853735acfe90a0e125216bbb400e12ee1c (diff)
downloadsystemtap-steved-8f5a3d9e3c6985f655495d133c8a2989ce91fd4d.tar.gz
systemtap-steved-8f5a3d9e3c6985f655495d133c8a2989ce91fd4d.tar.xz
systemtap-steved-8f5a3d9e3c6985f655495d133c8a2989ce91fd4d.zip
Fix bug in dwfl_assert call.
The problem was caused by ptrdiff_t being a long on x86_64 and not matching any of the overloaded definitions of dwfl_assert.
-rw-r--r--tapsets.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index a571ea0d..41b0b34d 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -1006,7 +1006,7 @@ struct dwflpp
& module_cache, off);
}
while (off > 0);
- dwfl_assert("dwfl_getmodules", off);
+ dwfl_assert("dwfl_getmodules", off == 0);
module_cache.dwarf_collected = true;
}
}