about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--string/test-memchr.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b3f9de28ee..a38bc6c9c5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+	* string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
+	bracket.
+
 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
 
 	* scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
diff --git a/string/test-memchr.c b/string/test-memchr.c
index e7ba02b617..0690cb4530 100644
--- a/string/test-memchr.c
+++ b/string/test-memchr.c
@@ -184,8 +184,8 @@ test_main (void)
       do_test (i, 64, 256, 256, 0);
 
       /* Check for large input sizes and for these cases we need to
-	 make sure the bye is within the size range (that's why
-	 7 << i must be smaller than 2048.  */
+	 make sure the byte is within the size range (that's why
+	 7 << i must be smaller than 2048).  */
       do_test (0, 7 << i, 2048, SIZE_MAX, 23);
       do_test (0, 2048 - i, 2048, SIZE_MAX, 23);
       do_test (i, 64, 256, SIZE_MAX, 23);