aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/rmdir.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/rmdir.2')
-rw-r--r--lib/libc/sys/rmdir.26
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/rmdir.2 b/lib/libc/sys/rmdir.2
index a8b94fbf2d51..523bc21e1b1a 100644
--- a/lib/libc/sys/rmdir.2
+++ b/lib/libc/sys/rmdir.2
@@ -51,7 +51,7 @@ whose name is given by
.Fa path .
The directory must not have any entries other
than
-.Ql \&.
+.Ql .\&
and
.Ql \&.. .
.Sh RETURN VALUES
@@ -72,9 +72,9 @@ The named directory does not exist.
Too many symbolic links were encountered in translating the pathname.
.It Bq Er ENOTEMPTY
The named directory contains files other than
-.Ql \&.
+.Ql .\&
and
-.Ql \&..
+.Ql ..\&
in it.
.It Bq Er EACCES
Search permission is denied for a component of the path prefix.