summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-02-10 15:05:22 -0500
committerFrank Ch. Eigler <fche@elastic.org>2009-02-10 15:05:22 -0500
commit955925b709fcf1aeaa667423ed7b639dcfd94478 (patch)
tree2ca55ccb8bcec0b02cbce7cb2ad5d28bf9cba9ef /tapsets.cxx
parentced8de1061ed47f7c3b0cfd4a7cedb338ab42f97 (diff)
downloadsystemtap-steved-955925b709fcf1aeaa667423ed7b639dcfd94478.tar.gz
systemtap-steved-955925b709fcf1aeaa667423ed7b639dcfd94478.tar.xz
systemtap-steved-955925b709fcf1aeaa667423ed7b639dcfd94478.zip
fix segv that sometimes occurs on buildok/nfs-all-probes.stp on 2.6.29ish kernels
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 c8742fbd..615ba07b 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -1761,7 +1761,7 @@ struct dwflpp
if (sidx == nscopes)
nscopes = dwarf_getscopes_die (scope_die, &scopes);
- if (nscopes == 0)
+ if (nscopes <= 0)
{
throw semantic_error ("unable to find any scopes containing "
+ lex_cast_hex<string>(pc)