diff options
Diffstat (limited to 'gprof')
-rw-r--r-- | gprof/lookup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gprof/lookup.c b/gprof/lookup.c index 1478faf..56ded06 100644 --- a/gprof/lookup.c +++ b/gprof/lookup.c @@ -69,7 +69,7 @@ nllookup( address ) printf("[nllookup] %d (%d) probes, fall off\n", probes, nname-1); } # endif - return &nl[middle]; + return &nl[middle+1]; } fprintf( stderr , "[nllookup] binary search fails???\n" ); #ifdef DEBUG |