Skip to content

Commit

Permalink
Minor formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddhesh Poyarekar committed Feb 21, 2014
1 parent bd939d2 commit b8cd1c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions benchtests/bench-strrchr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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);
Expand Down

0 comments on commit b8cd1c4

Please sign in to comment.