about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2012-03-30 06:35:29 -0400
committerUlrich Drepper <drepper@gmail.com>2012-03-30 06:35:29 -0400
commit1d39e35923d086a0248f1934adfe31d8f6c813c0 (patch)
treeb03acfe35d96756c3add76d246e6e213e7e4f3b9
parente64d2de526d8cfa2908e08892a534316a0bddf5f (diff)
downloadglibc-1d39e35923d086a0248f1934adfe31d8f6c813c0.tar.gz
glibc-1d39e35923d086a0248f1934adfe31d8f6c813c0.tar.xz
glibc-1d39e35923d086a0248f1934adfe31d8f6c813c0.zip
Comment fixes for mmsghdr
-rw-r--r--ChangeLog7
-rw-r--r--sysdeps/unix/sysv/linux/bits/socket.h5
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 08c70131fb..e8d7809b8e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,9 @@
-2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
+2012-03-30  Ulrich Drepper  <drepper@gmail.com>
+
+	* sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
+	comments for sendmmsg.
+
+2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
 
 	[BZ #13691]
 	* iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
diff --git a/sysdeps/unix/sysv/linux/bits/socket.h b/sysdeps/unix/sysv/linux/bits/socket.h
index 7fa7eea6cf..309cba7282 100644
--- a/sysdeps/unix/sysv/linux/bits/socket.h
+++ b/sysdeps/unix/sysv/linux/bits/socket.h
@@ -236,11 +236,12 @@ struct msghdr
   };
 
 #ifdef __USE_GNU
-/* For `recvmmsg'.  */
+/* For `recvmmsg' and 'sendmmsg'.  */
 struct mmsghdr
   {
     struct msghdr msg_hdr;	/* Actual message header.  */
-    unsigned int msg_len;	/* Number of received bytes for the entry.  */
+    unsigned int msg_len;	/* Number of received or sent bytes
+				   for the entry.  */
   };
 #endif