aboutsummaryrefslogtreecommitdiffstats
path: root/man2/chmod.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/chmod.2')
-rw-r--r--man2/chmod.26
1 files changed, 5 insertions, 1 deletions
diff --git a/man2/chmod.2 b/man2/chmod.2
index 017aab9d63..6862a7e3d2 100644
--- a/man2/chmod.2
+++ b/man2/chmod.2
@@ -309,8 +309,12 @@ The following additional errors can occur for
.BR fchmodat ():
.TP
.B EBADF
+.I pathname
+is relative but
.I dirfd
-is not a valid file descriptor.
+is neither
+.B AT_FDCWD
+nor a valid file descriptor.
.TP
.B EINVAL
Invalid flag specified in