aboutsummaryrefslogtreecommitdiff
path: root/benchtests/bench-strrchr.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-02-21 11:31:41 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-02-21 11:31:41 +0530
commitb8cd1c4ea5788d10bdb586f22a75f38f284ccdf0 (patch)
tree830f0b967b3c50c8009eebeeb08bde3ea017d3e6 /benchtests/bench-strrchr.c
parentbd939d23227e910e2726ac28d2c3b259869aa594 (diff)
downloadglibc-b8cd1c4ea5788d10bdb586f22a75f38f284ccdf0.zip
glibc-b8cd1c4ea5788d10bdb586f22a75f38f284ccdf0.tar.gz
glibc-b8cd1c4ea5788d10bdb586f22a75f38f284ccdf0.tar.bz2
Minor formatting fix
Diffstat (limited to 'benchtests/bench-strrchr.c')
-rw-r--r--benchtests/bench-strrchr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchtests/bench-strrchr.c b/benchtests/bench-strrchr.c
index 3d42236..d5b62e3 100644
--- a/benchtests/bench-strrchr.c
+++ b/benchtests/bench-strrchr.c
@@ -97,7 +97,7 @@ do_test (size_t align, size_t pos, size_t len, int seek_char, int max_char)
CHAR *buf = (CHAR *) buf1;
align &= 7;
- if ( (align + len) * sizeof(CHAR) >= page_size)
+ if ((align + len) * sizeof (CHAR) >= page_size)
return;
for (i = 0; i < len; ++i)
@@ -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:", len, 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);