diff --git a/man2/execveat.2 b/man2/execveat.2 index 50e747e44..d48f1ddf9 100644 --- a/man2/execveat.2 +++ b/man2/execveat.2 @@ -103,7 +103,7 @@ If the file identified by and a non-NULL .I pathname is a symbolic link, then the call fails with the error -.BR EINVAL . +.BR ELOOP . .SH "RETURN VALUE" On success, .BR execveat () @@ -124,6 +124,10 @@ The following additional errors can occur for is not a valid file descriptor. .TP .B EINVAL +Invalid flag specified in +.IR flags . +.TP +.B ELOOP .I flags includes .BR AT_SYMLINK_NOFOLLOW @@ -133,10 +137,6 @@ and a non-NULL .I pathname is a symbolic link. .TP -.B EINVAL -Invalid flag specified in -.IR flags . -.TP .B ENOENT The program identified by .I dirfd