Browse Source

include/linux/socket.h: Fix comment

File descriptors are always closed on exit :-)

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Rasmus Villemoes 10 years ago
parent
commit
9cdb5dbf79
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/linux/socket.h

+ 1 - 1
include/linux/socket.h

@@ -256,7 +256,7 @@ struct ucred {
 #define MSG_EOF         MSG_FIN
 #define MSG_EOF         MSG_FIN
 
 
 #define MSG_FASTOPEN	0x20000000	/* Send data in TCP SYN */
 #define MSG_FASTOPEN	0x20000000	/* Send data in TCP SYN */
-#define MSG_CMSG_CLOEXEC 0x40000000	/* Set close_on_exit for file
+#define MSG_CMSG_CLOEXEC 0x40000000	/* Set close_on_exec for file
 					   descriptor received through
 					   descriptor received through
 					   SCM_RIGHTS */
 					   SCM_RIGHTS */
 #if defined(CONFIG_COMPAT)
 #if defined(CONFIG_COMPAT)