aboutsummaryrefslogtreecommitdiffstats
path: root/man2/stat.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/stat.2')
-rw-r--r--man2/stat.26
1 files changed, 5 insertions, 1 deletions
diff --git a/man2/stat.2 b/man2/stat.2
index 339920d711..e5859abaff 100644
--- a/man2/stat.2
+++ b/man2/stat.2
@@ -434,8 +434,12 @@ The following additional errors can occur for
.BR fstatat ():
.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