aboutsummaryrefslogtreecommitdiff
path: root/gprof
diff options
context:
space:
mode:
Diffstat (limited to 'gprof')
-rw-r--r--gprof/lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gprof/lookup.c b/gprof/lookup.c
index 1892101..1478faf 100644
--- a/gprof/lookup.c
+++ b/gprof/lookup.c
@@ -63,7 +63,7 @@ nllookup( address )
low = middle + 1;
}
}
- if(nl[middle+1].value == address) {
+ if(nl[middle+1].value <= address) {
# ifdef DEBUG
if (debug & LOOKUPDEBUG ) {
printf("[nllookup] %d (%d) probes, fall off\n", probes, nname-1);