git: ebd89b9595b0 - main - manpages: missing section argument for .Xr macro

From: Wolfram Schneider <wosch_at_FreeBSD.org>
Date: Sun, 08 Nov 2026 18:04:49 UTC
The branch main has been updated by wosch:

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

commit ebd89b9595b0e4935791b868fec7212c8677156c
Author:     Wolfram Schneider <wosch@FreeBSD.org>
AuthorDate: 2026-11-08 18:04:20 +0000
Commit:     Wolfram Schneider <wosch@FreeBSD.org>
CommitDate: 2026-11-08 18:04:20 +0000

    manpages: missing section argument for .Xr macro
---
 lib/libsys/pdfork.2               | 2 +-
 lib/libsys/sched_getcpu.3         | 2 +-
 lib/libsysdecode/sysdecode_mask.3 | 2 +-
 share/man/man7/environ.7          | 2 +-
 usr.sbin/nfsd/pnfs.4              | 2 +-
 usr.sbin/nfsd/pnfsserver.4        | 4 ++--
 usr.sbin/pnfsdsfile/pnfsdsfile.8  | 2 +-
 7 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/lib/libsys/pdfork.2 b/lib/libsys/pdfork.2
index 99248a84925b..124ec04ea059 100644
--- a/lib/libsys/pdfork.2
+++ b/lib/libsys/pdfork.2
@@ -357,7 +357,7 @@ The PID of the referenced process is not reused until the process
 descriptor is closed,
 whether or not the zombie process is reaped by
 .Fn pdwait ,
-.Xr wait6 ,
+.Fn wait6 ,
 or similar system calls.
 .Sh RETURN VALUES
 .Fn pdfork
diff --git a/lib/libsys/sched_getcpu.3 b/lib/libsys/sched_getcpu.3
index 050a8f3facb4..7a6701f3022d 100644
--- a/lib/libsys/sched_getcpu.3
+++ b/lib/libsys/sched_getcpu.3
@@ -38,7 +38,7 @@ does not fail.
 .Xr cpuset_getaffinity 2 ,
 .Xr cpuset_setaffinity 2 ,
 .Xr pthread_getaffinity_np 3 ,
-.Xr pthread_setaffinity_np
+.Xr pthread_setaffinity_np 3
 .Sh STANDARDS
 The
 .Nm
diff --git a/lib/libsysdecode/sysdecode_mask.3 b/lib/libsysdecode/sysdecode_mask.3
index efcab331fe29..635c1cf71581 100644
--- a/lib/libsysdecode/sysdecode_mask.3
+++ b/lib/libsysdecode/sysdecode_mask.3
@@ -173,7 +173,7 @@ Most of these functions decode an argument passed to a system call:
 .It Fn sysdecode_msg_flags Ta Xr recv 2 , Xr send 2 Ta Fa flags
 .It Fn sysdecode_msync_flags Ta Xr msync 2 Ta Fa flags
 .It Fn sysdecode_open_flags Ta Xr open 2 Ta Fa flags
-.It Fn sysdecode_pipe2_flags Ta Xr pipe2 Ta Fa flags
+.It Fn sysdecode_pipe2_flags Ta Xr pipe2 2 Ta Fa flags
 .It Fn sysdecode_reboot_howto Ta Xr reboot 2 Ta Fa howto
 .It Fn sysdecode_rfork_flags Ta Xr rfork 2 Ta Fa flags
 .It Fn sysdecode_semget_flags Ta Xr semget 2 Ta Fa flags
diff --git a/share/man/man7/environ.7 b/share/man/man7/environ.7
index dece3cbdf51b..1e4c6fe1873d 100644
--- a/share/man/man7/environ.7
+++ b/share/man/man7/environ.7
@@ -118,7 +118,7 @@ and
 Request the
 .Xr err 3
 and
-.Xr uexterr_gettext
+.Xr uexterr_gettext 3
 functions to unconditionally report additional information,
 mostly useful for the (kernel) developer to diagnose the issue.
 See
diff --git a/usr.sbin/nfsd/pnfs.4 b/usr.sbin/nfsd/pnfs.4
index d9818c051df4..30abd7b07e66 100644
--- a/usr.sbin/nfsd/pnfs.4
+++ b/usr.sbin/nfsd/pnfs.4
@@ -62,7 +62,7 @@ In the DeviceInfo, there is a DeviceID which, for the
 server
 is unique to the DS configuration
 and changes whenever the
-.Xr nfsd
+.Xr nfsd 8
 daemon is restarted or the server is rebooted.
 .Pp
 The second is the layout, which is per file and references the DeviceInfo
diff --git a/usr.sbin/nfsd/pnfsserver.4 b/usr.sbin/nfsd/pnfsserver.4
index 7a2ddc4e85c0..1449589bc9de 100644
--- a/usr.sbin/nfsd/pnfsserver.4
+++ b/usr.sbin/nfsd/pnfsserver.4
@@ -117,7 +117,7 @@ file system(s) exported to clients.
 However, the
 .Dq -p
 command line argument for
-.Xr nfsd
+.Xr nfsd 8
 is used to indicate that it is running as the MDS for a pNFS server.
 .Pp
 The DS(s) must all be mounted on the MDS using the following mount options:
@@ -233,7 +233,7 @@ done with the
 .Dq pnfs
 option should do I/O directly on the DSs.
 The clients mounting the MDS must be running the
-.Xr nfscbd
+.Xr nfscbd 8
 daemon for pNFS to work.
 Set
 .Bd -literal -offset indent
diff --git a/usr.sbin/pnfsdsfile/pnfsdsfile.8 b/usr.sbin/pnfsdsfile/pnfsdsfile.8
index 996026fc7b01..2ad8add814a4 100644
--- a/usr.sbin/pnfsdsfile/pnfsdsfile.8
+++ b/usr.sbin/pnfsdsfile/pnfsdsfile.8
@@ -96,7 +96,7 @@ to 0.0.0.0 to bring the number of entries up to
 .Dq mirror_level .
 It can be used by a system administrator to prepare a file for mirroring
 via the
-.Xr pnfsdscopymr
+.Xr pnfsdscopymr 8
 command with
 .Fl r
 option.