diff options
author | Dave Brolley <brolley@redhat.com> | 2008-09-09 15:09:47 -0400 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2008-09-09 15:09:47 -0400 |
commit | bb997bd81d90b94e734c8c93402353eddd0bc408 (patch) | |
tree | 4e57cbf3adab36130ab242538fe6bbc79c243798 /runtime/sym.c | |
parent | 13e6d2152e5aca18e4fd1d0d5f8c6b280f995763 (diff) | |
parent | 67a66a8b72d19dc1a1fd10db1c55e31a6e93b270 (diff) | |
download | systemtap-steved-bb997bd81d90b94e734c8c93402353eddd0bc408.tar.gz systemtap-steved-bb997bd81d90b94e734c8c93402353eddd0bc408.tar.xz systemtap-steved-bb997bd81d90b94e734c8c93402353eddd0bc408.zip |
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'runtime/sym.c')
-rw-r--r-- | runtime/sym.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/sym.c b/runtime/sym.c index dcdbaf69..b594d9c2 100644 --- a/runtime/sym.c +++ b/runtime/sym.c @@ -98,7 +98,7 @@ static const char *_stp_kallsyms_lookup(unsigned long addr, unsigned long *symbo unsigned long this_section_addr = _stp_modules[midx]->sections[secidx].addr; unsigned long this_section_offset; if (addr < this_section_addr) continue; - this_section_offset = this_section_addr - addr; + this_section_offset = addr - this_section_addr; if (this_section_offset < closest_section_offset) { closest_section_offset = this_section_offset; |