diff options
author | brueffer <brueffer@FreeBSD.org> | 2016-01-08 13:33:22 +0000 |
---|---|---|
committer | brueffer <brueffer@FreeBSD.org> | 2016-01-08 13:33:22 +0000 |
commit | f9f96ebf13238c21ffb6151b6d5a7d8c16bf4bdc (patch) | |
tree | 21ec131ea9322f61b5e023ed8abb3d934812c725 /share/man | |
parent | d1f61053c33f953ac5dfa5ed62f1b79965c662fb (diff) | |
download | FreeBSD-src-f9f96ebf13238c21ffb6151b6d5a7d8c16bf4bdc.zip FreeBSD-src-f9f96ebf13238c21ffb6151b6d5a7d8c16bf4bdc.tar.gz |
Fix issues found by mandoc -Tlint.
MFC after: 1 week
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man9/DEVICE_PROBE.9 | 3 | ||||
-rw-r--r-- | share/man/man9/kern_testfrwk.9 | 3 | ||||
-rw-r--r-- | share/man/man9/malloc.9 | 2 | ||||
-rw-r--r-- | share/man/man9/timeout.9 | 2 |
4 files changed, 4 insertions, 6 deletions
diff --git a/share/man/man9/DEVICE_PROBE.9 b/share/man/man9/DEVICE_PROBE.9 index 86b8339..5fef21f 100644 --- a/share/man/man9/DEVICE_PROBE.9 +++ b/share/man/man9/DEVICE_PROBE.9 @@ -100,7 +100,8 @@ This is for source or binary drivers that are not yet integrated into the tree. Its use in the base OS is prohibited. .It BUS_PROBE_DEFAULT -The device is a normal device matching some plug and play ID. This is +The device is a normal device matching some plug and play ID. +This is the normal return value for drivers to use. It is intended that nearly all of the drivers in the tree should return this value. diff --git a/share/man/man9/kern_testfrwk.9 b/share/man/man9/kern_testfrwk.9 index 0838c72..653cb5e 100644 --- a/share/man/man9/kern_testfrwk.9 +++ b/share/man/man9/kern_testfrwk.9 @@ -65,7 +65,6 @@ When your test loads, you register your tests with the kernel test framework. You do that through a call to .Fn kern_testframework_register . Usually this is done at the module load event as shown below: -.Pp .Bd -literal -offset indent switch (type) { case MOD_LOAD: @@ -122,7 +121,6 @@ field is a test-specific set of information that is an opaque blob. It is passed in from user space and has a maximum size of 256 bytes. You can pass arbitrary test input in the space. In the case of callout_test we reshape that to: -.Pp .Bd -literal -offset indent struct callout_test { int number_of_callouts; @@ -133,7 +131,6 @@ struct callout_test { So the first lines of .Fn run_callout_test does the following to get at the user specific data: -.Pp .\" This is a bad example and violates strict aliasing. It should be replaced. .Bd -literal -offset indent struct callout_test *u; diff --git a/share/man/man9/malloc.9 b/share/man/man9/malloc.9 index eec2c86..81d40dc 100644 --- a/share/man/man9/malloc.9 +++ b/share/man/man9/malloc.9 @@ -229,7 +229,7 @@ may sleep when called with never sleeps. However, .Fn malloc , -.Fn realloc, +.Fn realloc , .Fn reallocf and .Fn free diff --git a/share/man/man9/timeout.9 b/share/man/man9/timeout.9 index 58905bc..3f5b4dc 100644 --- a/share/man/man9/timeout.9 +++ b/share/man/man9/timeout.9 @@ -261,7 +261,7 @@ returns zero it will arrange for the function .Fa drain to be called using the same argument given to the .Fn callout_reset -function. +function. .Fn callout_async_drain If the callout has an associated lock, then that lock must be held when this function is called. |