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