about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/nptl/internaltypes.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6347f386dc..6b8857bf7f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-05-08  Andreas Schwab  <schwab@suse.de>
+
+	* sysdeps/nptl/internaltypes.h: Fix comment.
+
 2018-05-07  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
diff --git a/sysdeps/nptl/internaltypes.h b/sysdeps/nptl/internaltypes.h
index b29239b1dc..b78ad99a88 100644
--- a/sysdeps/nptl/internaltypes.h
+++ b/sysdeps/nptl/internaltypes.h
@@ -140,7 +140,7 @@ struct pthread_key_struct
 struct new_sem
 {
 #if __HAVE_64B_ATOMICS
-  /* The data field holds both value (in the least-significant 32 bytes) and
+  /* The data field holds both value (in the least-significant 32 bits) and
      nwaiters.  */
 # if __BYTE_ORDER == __LITTLE_ENDIAN
 #  define SEM_VALUE_OFFSET 0