diff --git a/man2/chdir.2 b/man2/chdir.2 index 87fc1415f..88f4184cb 100644 --- a/man2/chdir.2 +++ b/man2/chdir.2 @@ -124,6 +124,10 @@ Search permission was denied on the directory open on .B EBADF .I fd is not a valid file descriptor. +.TP +.B ENOTDIR +.I fd +does not refer to a directory. .SH CONFORMING TO POSIX.1-2001, POSIX.1-2008, SVr4, 4.4BSD. .SH NOTES