diff options
author | Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com> | 2014-02-21 11:17:41 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-02-21 11:30:03 +0530 |
commit | bd939d23227e910e2726ac28d2c3b259869aa594 (patch) | |
tree | e1484e6b1135e7d1a43f17120fab60ab8cf37803 /elf/testobj2.c | |
parent | bc688c10296cb416c082e44aa8bf881505aec64a (diff) | |
download | glibc-bd939d23227e910e2726ac28d2c3b259869aa594.tar.gz glibc-bd939d23227e910e2726ac28d2c3b259869aa594.tar.xz glibc-bd939d23227e910e2726ac28d2c3b259869aa594.zip |
print length in strrchr benchtest
The return criteria of strrchr() is to read till NULL even if the search character is hit. So its better to print len instead of pos.
Diffstat (limited to 'elf/testobj2.c')
0 files changed, 0 insertions, 0 deletions