about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--string/bits/string2.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f2b6683003..ca424aeb79 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2016-11-14  Zack Weinberg  <zackw@panix.com>
 
+	* string/bits/string2.h: Fix typo in comment.
+
+2016-11-14  Zack Weinberg  <zackw@panix.com>
+
 	* misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
 	(__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
 	(__SYSMACROS_FST_IMPL_TEMPL): Delete.
diff --git a/string/bits/string2.h b/string/bits/string2.h
index 80987602f3..ca1eda9bd1 100644
--- a/string/bits/string2.h
+++ b/string/bits/string2.h
@@ -52,7 +52,7 @@
 #define __string2_1bptr_p(__x) \
   ((size_t)(const void *)((__x) + 1) - (size_t)(const void *)(__x) == 1)
 
-/* Set N bytes of S to C.  */
+/* Set N bytes of S to 0.  */
 #if !defined _HAVE_STRING_ARCH_memset
 # define __bzero(s, n) __builtin_memset (s, '\0', n)
 #endif