Skip to content

Commit a51584a

Browse files
gpercivamhorne
authored andcommitted
manuals: Fix some "missing section argument"
These were reported by `mandoc -T lint ...` as warnings. Signed-off-by: Graham Percival <[email protected]> Reviewed by: mhorne, Alexander Ziaee <[email protected]> Sponsored by: Tarsnap Backup Inc. Pull Request: freebsd/freebsd-src#1467
1 parent 229381d commit a51584a

File tree

11 files changed

+15
-15
lines changed

11 files changed

+15
-15
lines changed

lib/libdevctl/devctl.3

+1-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ method to construct the path.
209209
The
210210
.Fa buffer
211211
pointer is updated with an allocated buffer that must be freed with
212-
.Xr free .
212+
.Xr free 3 .
213213
.Pp
214214
The
215215
.Fn devctl_freeze

lib/libthr/libthr.3

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ recycle it at any moment, making this sysctl less useful than it sounds.
217217
.It Dv kern.ipc.umtx_max_robust
218218
The maximal number of robust mutexes allowed for one thread.
219219
The kernel will not unlock more mutexes than specified, see
220-
.Xr _umtx_op
220+
.Xr _umtx_op 2
221221
for more details.
222222
The default value is large enough for most useful applications.
223223
.It Dv debug.umtx.robust_faults_verbose

share/man/man4/disk.4

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Operations to block devices such as
5757
.Xr lseek 2 ,
5858
.Xr read 2 ,
5959
and
60-
.Xr write
60+
.Xr write 2
6161
may only be performed at file offsets that are integral multiple of
6262
this size.
6363
.It Dv DIOCGMEDIASIZE

share/man/man4/ng_iface.4

+2-2
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ to the desired level of nesting.
153153
.Xr netgraph 4 ,
154154
.Xr ng_cisco 4 ,
155155
.Xr ifconfig 8 ,
156-
.Xr ngctl 8
157-
.Xr sysctl
156+
.Xr ngctl 8 ,
157+
.Xr sysctl 8
158158
.Sh HISTORY
159159
The
160160
.Nm iface

share/man/man4/ng_nat.4

+1-1
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ In case of
265265
.Nm
266266
failed to retrieve a certain counter
267267
from its
268-
.Xr libalias
268+
.Xr libalias 3
269269
instance, the corresponding field is returned as
270270
.Va UINT32_MAX .
271271
.It Dv NGM_NAT_SET_DLT Pq Ic setdlt

share/man/man4/qat.4

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Following variables may be used to reconfigure the QAT device.\&
105105
For configuration persistence those variables may be set before loading the driver, either via
106106
.Xr kenv 1
107107
or
108-
.Xr loader.conf(5).
108+
.Xr loader.conf 5 .
109109
The device specific configuration options are prefixed with
110110
.Va dev.qat.X\&.
111111
where X is the device number.

share/man/man4/watchdog.4

+4-4
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ supports several optional
4242
.Xr ioctl 2
4343
calls for configuration, and
4444
responds to a single operational
45-
.Xr ioctl
45+
.Xr ioctl 2
4646
call,
4747
.Dv WDIOCPATPAT .
4848
It takes a single argument which represents a timeout value specified as a
@@ -84,7 +84,7 @@ The watchdog might
8484
still be armed!
8585
.Pp
8686
The optional configuration
87-
.Xr ioctl
87+
.Xr ioctl 2
8888
commands are listed here, along with the type of the parameter used.
8989
Examples of their use can be found in
9090
.Xr watchdogd 8 .
@@ -127,7 +127,7 @@ printf(9)
127127
.Sh RETURN VALUES
128128
The
129129
.Dv WDIOCPATPAT
130-
.Xr ioctl
130+
.Xr ioctl 2
131131
returns zero on success and non-zero on failure.
132132
.Bl -tag -width Er
133133
.It Bq Er EOPNOTSUPP
@@ -141,7 +141,7 @@ Invalid flag combination passed.
141141
.El
142142
.Pp
143143
The configuration
144-
.Xr ioctl
144+
.Xr ioctl 2
145145
operations return zero on success and non-zero on failure.
146146
.Sh EXAMPLES
147147
.Bd -literal -offset indent

share/man/man9/VOP_ADVISE.9

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
.Sh DESCRIPTION
4040
This call applies advice for a range of a file's data.
4141
It is used to implement the
42-
.Xr posix_fadvise
42+
.Xr posix_fadvise 2
4343
system call.
4444
.Pp
4545
Its arguments are:

share/man/man9/VOP_ALLOCATE.9

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
.Sh DESCRIPTION
4646
This call allocates storage for a range of offsets in a file.
4747
It is used to implement the
48-
.Xr posix_fallocate
48+
.Xr posix_fallocate 2
4949
system call.
5050
.Pp
5151
Its arguments are:

share/man/man9/contigmalloc.9

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ The
105105
.Fn contigfree
106106
function is deprecated.
107107
Use
108-
.Xr free(9)
108+
.Xr free 9
109109
instead.
110110
.Sh IMPLEMENTATION NOTES
111111
The

share/man/man9/osd.9

+1-1
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ API.
396396
.Pp
397397
.Fn osd_get
398398
only acquires an
399-
.Xr rmlock
399+
.Xr rmlock 9
400400
in read mode, therefore making it safe to use in the majority of contexts within
401401
the kernel including most fast paths.
402402
.Sh RETURN VALUES

0 commit comments

Comments
 (0)