summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorkstailey <kstailey@openbsd.org>1996-12-27 01:24:20 +0000
committerkstailey <kstailey@openbsd.org>1996-12-27 01:24:20 +0000
commit9ee6221de49076e9c745a1b4aa06c65836c95ee2 (patch)
treeac556d6da9603863e2cf66288294da99b5465e35 /lib/libc
parentmerged into if_le.c (diff)
downloadwireguard-openbsd-9ee6221de49076e9c745a1b4aa06c65836c95ee2.tar.xz
wireguard-openbsd-9ee6221de49076e9c745a1b4aa06c65836c95ee2.zip
adjusted to state "no hard links to directories"
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/link.25
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/sys/link.2 b/lib/libc/sys/link.2
index fbb03baff53..2a6f8b66c88 100644
--- a/lib/libc/sys/link.2
+++ b/lib/libc/sys/link.2
@@ -76,7 +76,7 @@ both
and
.Fa name2
must be in the same file system.
-Unless the caller is the super-user,
+As mandated by POSIX.1
.Fa name1
may not be a directory.
.Sh RETURN VALUES
@@ -116,8 +116,7 @@ does exist.
.It Bq Er EPERM
The file named by
.Fa name1
-is a directory and the effective
-user ID is not super-user.
+is a directory.
.It Bq Er EXDEV
The link named by
.Fa name2