summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorJose Luis Duran <jlduran@gmail.com>2024-08-26 01:32:14 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2024-09-01 00:53:36 +0000
commit97ccb41979bfee6d5bf35886b310e6c9bc7e8eed (patch)
treebcc37ebe45a6e9516f324000d492b2d37d31fc47 /lib/libc/sys
parentf968e0819ddc3b26537d046304472877ff4849c1 (diff)
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/rename.28
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/sys/rename.2 b/lib/libc/sys/rename.2
index 2b68274e4a8e..4faba81ff509 100644
--- a/lib/libc/sys/rename.2
+++ b/lib/libc/sys/rename.2
@@ -25,9 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" @(#)rename.2 8.1 (Berkeley) 6/4/93
-.\"
-.Dd March 30, 2020
+.Dd August 25, 2024
.Dt RENAME 2
.Os
.Sh NAME
@@ -257,6 +255,10 @@ or an attempt is made to rename
.Ql .\&
or
.Ql \&.. .
+.It Bq Er EINVAL
+The last component of the
+.Fa to
+path is invalid on the target file system.
.It Bq Er ENOTEMPTY
The
.Fa to