Skip to contentSkip to conversation

include/linux/socket.h: Fix comment

PATCH In review Rasmus Villemoes 2 participants 2 messages Jun 4, 2014 Sockets

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 include/linux/socket.h: Fix comment

File descriptors are always closed on exit :-)

---
 include/linux/socket.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/socket.h +1 -1
index 8e98297..99d2466 100644
@@ -256,7 +256,7 @@ struct ucred {
 #define MSG_EOF         MSG_FIN
 
 #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
 					   SCM_RIGHTS */
 #if defined(CONFIG_COMPAT)
Signature · 1 line
1.9.2