diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | benchtests/bench-strrchr.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 2a80e08770..ddd3247be3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com> + + * benchtests/bench-strrchr.c (do_test): Fix minor formatting. + 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com> * benchtests/bench-strrchr.c: Print length instead of position. diff --git a/benchtests/bench-strrchr.c b/benchtests/bench-strrchr.c index 3d42236d8c..d5b62e3f49 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); |