rename(2): Extend EINVAL's description

PR:	281033

(cherry picked from commit 33f58ac0795b2b02593ad0a8bf8a1ea24c1dc5e1)
This commit is contained in:
Jose Luis Duran 2024-08-26 01:32:14 +00:00 committed by Konstantin Belousov
parent f968e0819d
commit 97ccb41979

View file

@ -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