Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Apr 2024 17:04:25 GMT
From:      Mitchell Horne <mhorne@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: d3de1bd429bc - main - open.2: remove self-reference
Message-ID:  <202404031704.433H4P7e082284@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mhorne:

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

commit d3de1bd429bc51fbbcb37fadaf2581461edf848b
Author:     Christopher Davidson <christopher.davidson@gmail.com>
AuthorDate: 2024-04-03 16:38:41 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2024-04-03 16:55:24 +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
---
 lib/libsys/open.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libsys/open.2 b/lib/libsys/open.2
index 383dd58b2a31..aac3ef1318f8 100644
--- a/lib/libsys/open.2
+++ b/lib/libsys/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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404031704.433H4P7e082284>