fcntl.h: Fix a typo
Subsystems (3)
PATCH 1/1 fcntl.h: Fix a typo
In the source file fs/fcntl.c and also in the fcntl() man page one can see that the FD_CLOEXEC flag can be manipulated via F_GETFD and F_SETFD. Update the comment in <fcntl.h> accordingly.
Signed-off-by Bart Van Assche <[email protected]>
Cc Stephen Rothwell <[email protected]>
--- include/uapi/asm-generic/fcntl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/asm-generic/fcntl.h +1 -1
@@ -157,7 +157,7 @@ struct f_owner_ex {__kernel_pid_t pid; }; -/* for F_[GET|SET]FL */ +/* for F_[GET|SET]FD */ #define FD_CLOEXEC 1/* actually anything with low bit set goes */ /* for posix fcntl() and lockf() */
Signature · 1 line
2.1.4
David Miller
maintainerFrom: Bart Van Assche <[email protected]>
Date: Sun, 01 Feb 2015 13:07:21 +0100
Quoted 6 lines
In the source file
fs/fcntl.cand also in thefcntl()man page one can see that theFD_CLOEXECflag can be manipulated viaF_GETFDandF_SETFD. Update the comment in <fcntl.h> accordingly.Signed-off-by Bart Van Assche <[email protected]>Cc Stephen Rothwell <[email protected]>
Netdev is not an appropriate mailing list for this patch, is it?