git: ac4ddd8b1f67 - stable/14 - open.2: remove self-reference

From: Mitchell Horne <mhorne_at_FreeBSD.org>
Date: Thu, 18 Apr 2024 18:19:06 UTC
The branch stable/14 has been updated by mhorne:

URL: https://cgit.FreeBSD.org/src/commit/?id=ac4ddd8b1f67f378330cc3bcc66ccdbdd5aa34e2

commit ac4ddd8b1f67f378330cc3bcc66ccdbdd5aa34e2
Author:     Christopher Davidson <christopher.davidson@gmail.com>
AuthorDate: 2024-04-03 16:38:41 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2024-04-18 18:18:34 +0000

    open.2: remove self-reference
    
    Change .Xr reference to .Fn, which quiets a mandoc warning.
    
    Reviewed by:    mhorne
    MFC after:      3 days
    Pull Request:   https://github.com/freebsd/freebsd-src/pull/1135
    
    (cherry picked from commit d3de1bd429bc51fbbcb37fadaf2581461edf848b)
---
 lib/libc/sys/open.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2
index 383dd58b2a31..aac3ef1318f8 100644
--- a/lib/libc/sys/open.2
+++ b/lib/libc/sys/open.2
@@ -323,7 +323,7 @@ by the descriptor at the time of the call.
 .Pp
 .Dv O_PATH
 returns a file descriptor that can be used as a directory file descriptor for
-.Xr openat 2
+.Fn openat
 and other system calls taking a file descriptor argument, like
 .Xr fstatat 2
 and others.