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.
+2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
+
+ * benchtests/bench-strrchr.c: Print length instead of position.
+
2014-02-20 Joseph Myers <joseph@codesourcery.com>
[BZ #16611]
else
result = NULL;
- printf ("Length %4zd, alignment in bytes %2zd:", pos, align * sizeof(CHAR));
+ printf ("Length %4zd, alignment in bytes %2zd:", len, align * sizeof(CHAR));
FOR_EACH_IMPL (impl, 0)
do_one_test (impl, (CHAR *) (buf + align), seek_char, result);