git: d3de1bd429bc - main - open.2: remove self-reference
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 03 Apr 2024 17:04:25 UTC
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.