about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2016-12-16 14:37:39 -0200
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2016-12-16 14:37:54 -0200
commit8b1f57f4f2c9c71c51b31fda1c91ca0e36b1fb18 (patch)
treef10ada0721e5a6c12fef664abf19a4f28803836b
parent36820ce9ceb3c37c3e9c8f1bdd0ca04da730deb4 (diff)
downloadglibc-8b1f57f4f2c9c71c51b31fda1c91ca0e36b1fb18.tar.gz
glibc-8b1f57f4f2c9c71c51b31fda1c91ca0e36b1fb18.tar.xz
glibc-8b1f57f4f2c9c71c51b31fda1c91ca0e36b1fb18.zip
Fix typos and missing closing bracket in test-memchr.c
	* string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
	bracket.
-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);