summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-01-22 05:08:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-01-22 05:08:20 +0000
commit71358db202b22f0cbe2e1fabdff1c6c28d3308f0 (patch)
tree14eebf701ac159edb5df24e62a7d379472a70d5c /lib
parentda220dcecff9921d4d4a34f9c1a9880549d4fa11 (diff)
mention that rmdir(.) returns EBUSY as per XPG4.2
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/rmdir.24
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/sys/rmdir.2 b/lib/libc/sys/rmdir.2
index e91a47f93be..6f0e5122ed3 100644
--- a/lib/libc/sys/rmdir.2
+++ b/lib/libc/sys/rmdir.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rmdir.2,v 1.2 1998/07/06 18:28:23 deraadt Exp $
+.\" $OpenBSD: rmdir.2,v 1.3 1999/01/22 05:08:19 millert Exp $
.\" $NetBSD: rmdir.2,v 1.7 1995/02/27 12:36:30 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -90,7 +90,7 @@ and neither the containing directory nor the directory to be removed
are owned by the effective user ID.
.It Bq Er EBUSY
The directory to be removed is the mount point
-for a mounted file system.
+for a mounted file system or the current direactory.
.It Bq Er EIO
An I/O error occurred while deleting the directory entry
or deallocating the inode.