From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bart Van Assche Subject: [PATCH] fcntl.h: Fix a typo Date: Mon, 02 Feb 2015 08:43:16 +0100 Message-ID: <54CF2A94.9080107@sandisk.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Arnd Bergmann Cc: "David S. Miller" , Stephen Rothwell , linux-kernel , linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-api@vger.kernel.org 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 accordingly. Signed-off-by: Bart Van Assche Cc: David Miller Cc: Stephen Rothwell --- include/uapi/asm-generic/fcntl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/asm-generic/fcntl.h b/include/uapi/asm-generic/fcntl.h index e063eff..584fa2b 100644 --- a/include/uapi/asm-generic/fcntl.h +++ b/include/uapi/asm-generic/fcntl.h @@ -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() */ -- 2.1.4