summaryrefslogtreecommitdiff
path: root/include/linux/socket.h
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2014-11-05 23:44:27 +0300
committerDavid S. Miller <davem@davemloft.net>2014-11-05 23:52:45 +0300
commit9cdb5dbf79f4e8f43e19ab7f4ec9ed74c146f0af (patch)
tree1092f73b04fc543a4f5051ea8790a76db980e3c3 /include/linux/socket.h
parent219b5f29a570b94151533e701cc3a504efa86ef3 (diff)
downloadlinux-9cdb5dbf79f4e8f43e19ab7f4ec9ed74c146f0af.tar.xz
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>
Diffstat (limited to 'include/linux/socket.h')
-rw-r--r--include/linux/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/socket.h b/include/linux/socket.h
index ec538fc287a6..bb9b83640070 100644
--- a/include/linux/socket.h
+++ b/include/linux/socket.h
@@ -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)