From 9e9bf5383a309b81e23a98d3a22a617870c3e54f Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 23 Sep 2019 21:35:13 +0200 Subject: [PATCH] pidfd_open.2: wfix Reported-by: Christian Brauner Signed-off-by: Michael Kerrisk --- man2/pidfd_open.2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man2/pidfd_open.2 b/man2/pidfd_open.2 index 394e0deff..9a5aa7e36 100644 --- a/man2/pidfd_open.2 +++ b/man2/pidfd_open.2 @@ -34,7 +34,7 @@ pidfd_open \- obtain a file descriptor that refers to a process .SH DESCRIPTION The .BR pidfd_open () -system creates a file descriptor that refers to +system call creates a file descriptor that refers to the process whose PID is specified in .IR pid . The file descriptor is returned as the function result; @@ -48,7 +48,7 @@ currently, this argument must be specified as 0. On success, .BR pidfd_open () returns a nonnegative file descriptor. -On success, \-1 is returned and +On error, \-1 is returned and .I errno is set to indicate the cause of the error. .SH ERRORS