about summary refs log tree commit diff
path: root/benchtests/bench-strrchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'benchtests/bench-strrchr.c')
-rw-r--r--benchtests/bench-strrchr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchtests/bench-strrchr.c b/benchtests/bench-strrchr.c
index adceddee07..3d42236d8c 100644
--- a/benchtests/bench-strrchr.c
+++ b/benchtests/bench-strrchr.c
@@ -122,7 +122,7 @@ do_test (size_t align, size_t pos, size_t len, int seek_char, int max_char)
   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);