FreeBSD Bugzilla – Attachment 124629 Details for
Bug 168117
groff mandoc style, usage mistakes or typos. (man9)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 15.70 KB, created by
Nobuyuki Koganemaru
on 2012-05-18 20:00:18 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Nobuyuki Koganemaru
Created:
2012-05-18 20:00:18 UTC
Size:
15.70 KB
patch
obsolete
>diff -u src/share/man/man9/BUF_ISLOCKED.9.orig src/share/man/man9/BUF_ISLOCKED.9 >--- src/share/man/man9/BUF_ISLOCKED.9.orig 2012-05-19 03:13:47.000000000 +0900 >+++ src/share/man/man9/BUF_ISLOCKED.9 2012-05-19 03:14:21.000000000 +0900 >@@ -52,7 +52,7 @@ > .It Dv LK_EXCLUSIVE > An exclusive lock is held by curthread. > .It Dv LK_EXCLOTHER >-An exclusive lock is held by someone other than curthread >+An exclusive lock is held by someone other than curthread. > .It Dv LK_SHARED > A shared lock is held. > .It Li 0 >diff -u src/share/man/man9/DB_COMMAND.9.orig src/share/man/man9/DB_COMMAND.9 >--- src/share/man/man9/DB_COMMAND.9.orig 2012-05-19 03:14:35.000000000 +0900 >+++ src/share/man/man9/DB_COMMAND.9 2012-05-19 03:14:53.000000000 +0900 >@@ -32,7 +32,7 @@ > .Nm DB_COMMAND , > .Nm DB_SHOW_COMMAND , > .Nm DB_SHOW_ALL_COMMAND >-.Nd Extends the ddb command set. >+.Nd Extends the ddb command set > .Sh SYNOPSIS > .In ddb/ddb.h > .Fo DB_COMMAND >diff -u src/share/man/man9/VOP_GETEXTATTR.9.orig src/share/man/man9/VOP_GETEXTATTR.9 >--- src/share/man/man9/VOP_GETEXTATTR.9.orig 2012-05-19 03:15:32.000000000 +0900 >+++ src/share/man/man9/VOP_GETEXTATTR.9 2012-05-19 03:15:58.000000000 +0900 >@@ -71,7 +71,7 @@ > .Dv NULL > when > .Fa size >-is not, and vise versa. >+is not, and vice versa. > .It Fa cred > The user credentials to use in authorizing the request. > .It Fa td >@@ -113,7 +113,7 @@ > .It Bq Er EINVAL > The > .Fa name , >-.Fa namespace, >+.Fa namespace , > or > .Fa uio > argument is invalid. >diff -u src/share/man/man9/VOP_GETPAGES.9.orig src/share/man/man9/VOP_GETPAGES.9 >--- src/share/man/man9/VOP_GETPAGES.9.orig 2012-05-19 03:16:06.000000000 +0900 >+++ src/share/man/man9/VOP_GETPAGES.9 2012-05-19 03:16:34.000000000 +0900 >@@ -115,7 +115,7 @@ > medium or protocol. > .It Dv VM_PAGER_FAIL > Treated identically to >-.Dv VM_PAGER_ERROR >+.Dv VM_PAGER_ERROR . > .It Dv VM_PAGER_AGAIN > The page was not handled by this request. > .El >diff -u src/share/man/man9/VOP_GETVOBJECT.9.orig src/share/man/man9/VOP_GETVOBJECT.9 >--- src/share/man/man9/VOP_GETVOBJECT.9.orig 2012-05-19 03:17:08.000000000 +0900 >+++ src/share/man/man9/VOP_GETVOBJECT.9 2012-05-19 03:17:24.000000000 +0900 >@@ -53,7 +53,7 @@ > The VM object being returned, or > .Dv NULL > if the caller wants to test for the existence >-of the VM object). >+of the VM object. > .El > .Pp > .Xr VFS 9 >diff -u src/share/man/man9/VOP_SETEXTATTR.9.orig src/share/man/man9/VOP_SETEXTATTR.9 >--- src/share/man/man9/VOP_SETEXTATTR.9.orig 2012-05-19 03:17:35.000000000 +0900 >+++ src/share/man/man9/VOP_SETEXTATTR.9 2012-05-19 03:17:55.000000000 +0900 >@@ -96,7 +96,7 @@ > The request was not valid in this file system for the specified vnode and > attribute name. > .It Bq Er ENOMEM >-Insufficient memory available to fulfill request >+Insufficient memory available to fulfill request. > .It Bq Er EFAULT > The uio structure refers to an invalid userspace address. > .It Bq Er EINVAL >diff -u src/share/man/man9/acl.9.orig src/share/man/man9/acl.9 >--- src/share/man/man9/acl.9.orig 2012-05-19 03:18:09.000000000 +0900 >+++ src/share/man/man9/acl.9 2012-05-19 03:19:13.000000000 +0900 >@@ -210,7 +210,7 @@ > .Xr vaccess_acl_nfs4 9 , > .Xr vaccess_acl_posix1e 9 , > .Xr VFS 9 , >-.Xr vnaccess 9 , >+.Xr vaccess 9 , > .Xr VOP_ACLCHECK 9 , > .Xr VOP_GETACL 9 , > .Xr VOP_SETACL 9 >diff -u src/share/man/man9/bus_generic_print_child.9.orig src/share/man/man9/bus_generic_print_child.9 >--- src/share/man/man9/bus_generic_print_child.9.orig 2012-05-19 03:20:30.000000000 +0900 >+++ src/share/man/man9/bus_generic_print_child.9 2012-05-19 03:20:42.000000000 +0900 >@@ -51,7 +51,7 @@ > bus_generic_print_child itself calls two functions > .Fn bus_print_child_header > and >-.Fn bus_print_child_footer >+.Fn bus_print_child_footer . > The former prints "foo0: <FooCard 1234>" and the latter "on bar0". > These routines should be used if possible in your own code if > .Fn bus_generic_print_child >diff -u src/share/man/man9/bus_release_resource.9.orig src/share/man/man9/bus_release_resource.9 >--- src/share/man/man9/bus_release_resource.9.orig 2012-05-19 03:20:51.000000000 +0900 >+++ src/share/man/man9/bus_release_resource.9 2012-05-19 03:27:53.000000000 +0900 >@@ -71,7 +71,7 @@ > .It > .Fa r > is the pointer to >-.Va struct res , >+.Va struct resource , > i.e., the resource itself, > returned by > .Xr bus_alloc_resource 9 . >diff -u src/share/man/man9/bus_space.9.orig src/share/man/man9/bus_space.9 >--- src/share/man/man9/bus_space.9.orig 2012-05-19 03:28:02.000000000 +0900 >+++ src/share/man/man9/bus_space.9 2012-05-19 03:52:40.000000000 +0900 >@@ -1380,7 +1380,8 @@ > They may also be executed out > of order with respect to other pending read and write operations unless > order is enforced by use of the >-.Fn bus_space_barrier function . >+.Fn bus_space_barrier >+function. > There is no way to insert barriers between reads or writes of > individual bus space locations executed by the > .Fn bus_space_copy_region_N >diff -u src/share/man/man9/byteorder.9.orig src/share/man/man9/byteorder.9 >--- src/share/man/man9/byteorder.9.orig 2012-05-19 03:29:25.000000000 +0900 >+++ src/share/man/man9/byteorder.9 2012-05-19 03:29:58.000000000 +0900 >@@ -158,7 +158,7 @@ > The > .Fn hto* > and >-.Fn toh* >+.Fn *toh > functions first appeared in > .Fx 5.0 , > and were originally developed by the >diff -u src/share/man/man9/dclass_get_maxunit.9,v.orig src/share/man/man9/dclass_get_maxunit.9,v >--- src/share/man/man9/dclass_get_maxunit.9,v.orig 2012-05-19 03:30:12.000000000 +0900 >+++ src/share/man/man9/dclass_get_maxunit.9,v 2012-05-19 03:30:21.000000000 +0900 >@@ -49,7 +49,7 @@ > function returns -1 if > .Fa dc > is >-.Dv NULL; >+.Dv NULL ; > otherwise it returns the next unit > number in > .Fa dc's >diff -u src/share/man/man9/dice_find_child.9,v.orig src/share/man/man9/dice_find_child.9,v >--- src/share/man/man9/dice_find_child.9,v.orig 2012-05-19 03:30:29.000000000 +0900 >+++ src/share/man/man9/dice_find_child.9,v 2012-05-19 03:30:57.000000000 +0900 >@@ -41,7 +41,7 @@ > .Fn device_find_child "device_t dev" "const char *classname" "int unit" > .Sh DESCRIPTION > This function looks for a specific child of >-.Dv dev . >+.Dv dev > with the given > .Fa classname > and >diff -u src/share/man/man9/firmware.9.orig src/share/man/man9/firmware.9 >--- src/share/man/man9/firmware.9.orig 2012-05-19 03:32:32.000000000 +0900 >+++ src/share/man/man9/firmware.9 2012-05-19 03:33:03.000000000 +0900 >@@ -101,11 +101,13 @@ > the firmware subsystem will try to load it using the > mechanisms specified below (typically, a kernel module > with >-.Nm the same name >+.Nm >+the same name > as the image). > .Sh API DESCRIPTION > The kernel >-.Nm firmware API >+.Nm >+firmware API > is made of the following functions: > .Pp > .Fn firmware_register >@@ -225,7 +227,7 @@ > If you need to embed firmware images into a system, you should write > appropriate entries in the <files.arch> file, e.g. this example is > from >-.Nm sys/arm/xscale/ixp425/files.ixp425: >+.Nm sys/arm/xscale/ixp425/files.ixp425 : > .Bd -literal > ixp425_npe_fw.c optional npe_fw \\ > compile-with "${AWK} -f $S/tools/fw_stub.awk \\ >diff -u src/share/man/man9/hashinit.9.orig src/share/man/man9/hashinit.9 >--- src/share/man/man9/hashinit.9.orig 2012-05-19 03:33:31.000000000 +0900 >+++ src/share/man/man9/hashinit.9 2012-05-19 03:33:43.000000000 +0900 >@@ -29,7 +29,7 @@ > .Dt HASHINIT 9 > .Os > .Sh NAME >-.Nm hashinit , hashinit_flags, hashdestroy , phashinit >+.Nm hashinit , hashinit_flags , hashdestroy , phashinit > .Nd manage kernel hash tables > .Sh SYNOPSIS > .In sys/malloc.h >diff -u src/share/man/man9/ieee80211_proto.9.orig src/share/man/man9/ieee80211_proto.9 >--- src/share/man/man9/ieee80211_proto.9.orig 2012-05-19 03:35:32.000000000 +0900 >+++ src/share/man/man9/ieee80211_proto.9 2012-05-19 03:35:52.000000000 +0900 >@@ -72,7 +72,7 @@ > Default/initial state. > A vap in this state should not hold any dynamic state (e.g. entries > for associated stations in the node table). >-The driver must quiesce the hardware; e.g. there should be no >+The driver must quiescence the hardware; e.g. there should be no > interrupts firing. > .It Dv IEEE80211_S_SCAN > Scanning for a BSS or choosing a channel to operate on. >@@ -238,4 +238,4 @@ > The state machine concept was part of the original > .Nm ieee80211 > code base that first appeared in >-.Nx 1.5 , >+.Nx 1.5 . >diff -u src/share/man/man9/ieee80211ap.9,v.orig src/share/man/man9/ieee80211ap.9,v >--- src/share/man/man9/ieee80211ap.9,v.orig 2012-05-19 03:36:15.000000000 +0900 >+++ src/share/man/man9/ieee80211ap.9,v 2012-05-19 03:36:39.000000000 +0900 >@@ -111,7 +111,7 @@ > Delete requests cause the > .Vt ic_vap_delete > method to be called. >-Drivers must quiesce the device before calling >+Drivers must quiescence the device before calling > .Fn ieee80211_vap_detach > to deactivate the vap and isolate it from activities such as requests > from user applications. >diff -u src/share/man/man9/ifnet.9.orig src/share/man/man9/ifnet.9 >--- src/share/man/man9/ifnet.9.orig 2012-05-19 03:36:52.000000000 +0900 >+++ src/share/man/man9/ifnet.9 2012-05-19 03:37:01.000000000 +0900 >@@ -637,7 +637,7 @@ > .Aq D > This interface blocks transmission of packets and discards incoming > packets after BPF processing. >-Used to monitor network trafic but not interact >+Used to monitor network traffic but not interact > with the network in question. > .It Dv IFF_STATICARP > .Aq D >diff -u src/share/man/man9/kqueue.9.orig src/share/man/man9/kqueue.9 >--- src/share/man/man9/kqueue.9.orig 2012-05-19 03:37:43.000000000 +0900 >+++ src/share/man/man9/kqueue.9 2012-05-19 03:38:01.000000000 +0900 >@@ -260,8 +260,7 @@ > If used, the > .Vt knlist > must be initialized with either >-.Fn knlist_init >-, >+.Fn knlist_init , > .Fn knlist_init_mtx > or > .Fn knlist_init_rw_reader . >diff -u src/share/man/man9/lock.9.orig src/share/man/man9/lock.9 >--- src/share/man/man9/lock.9.orig 2012-05-19 03:38:08.000000000 +0900 >+++ src/share/man/man9/lock.9 2012-05-19 03:38:17.000000000 +0900 >@@ -230,7 +230,7 @@ > The > .Fn lockmgr_disown > function switches the owner from the current thread to be >-.Dv LK_KERNPROC, >+.Dv LK_KERNPROC , > if the lock is already held. > .Pp > The >diff -u src/share/man/man9/locking.9.orig src/share/man/man9/locking.9 >--- src/share/man/man9/locking.9.orig 2012-05-19 03:38:25.000000000 +0900 >+++ src/share/man/man9/locking.9 2012-05-19 03:39:11.000000000 +0900 >@@ -315,8 +315,7 @@ > .Fn mtx_sleep , > .Fn rw_sleep > and >-.Fn msleep_spin >-). >+.Fn msleep_spin ) . > .Pp > .Em *4 > Though one can sleep holding an sx lock, one can also use >@@ -358,6 +357,6 @@ > functions appeared in > .Bsx 4.1 > through >-.Fx 7.0 >+.Fx 7.0 . > .Sh BUGS > There are too many locking primitives to choose from. >diff -u src/share/man/man9/mbuf.9.orig src/share/man/man9/mbuf.9 >--- src/share/man/man9/mbuf.9.orig 2012-05-19 03:39:26.000000000 +0900 >+++ src/share/man/man9/mbuf.9 2012-05-19 03:39:46.000000000 +0900 >@@ -403,7 +403,8 @@ > Associate externally managed data with > .Fa mbuf . > Any internal data contained in the mbuf will be discarded, and the >-.Dv M_EXT flag will be set. >+.Dv M_EXT >+flag will be set. > The > .Fa buf > and >@@ -722,7 +723,8 @@ > .Fa mbuf , > so they are accessible with > .Fn mtod mbuf type . >-.Fa len must be smaller than, or equal to, the size of an >+.Fa len >+must be smaller than, or equal to, the size of an > .Vt mbuf cluster . > Return a pointer to an intermediate > .Vt mbuf >diff -u src/share/man/man9/mod_cc.9.orig src/share/man/man9/mod_cc.9 >--- src/share/man/man9/mod_cc.9.orig 2012-05-19 03:40:00.000000000 +0900 >+++ src/share/man/man9/mod_cc.9 2012-05-19 03:40:13.000000000 +0900 >@@ -287,7 +287,7 @@ > .Va ack_received > and is set when the connection's ability to send data is currently constrained > by the value of the congestion window. >-Algorithms should use the abscence of this flag being set to avoid accumulating >+Algorithms should use the absence of this flag being set to avoid accumulating > a large difference between the congestion window and send window. > .Sh SEE ALSO > .Xr cc_chd 4 , >diff -u src/share/man/man9/netisr.9.orig src/share/man/man9/netisr.9 >--- src/share/man/man9/netisr.9.orig 2012-05-19 03:40:29.000000000 +0900 >+++ src/share/man/man9/netisr.9 2012-05-19 03:40:40.000000000 +0900 >@@ -78,7 +78,7 @@ > .Fn netisr_getqdrops , > .Fn netisr_getqlimit , > and >-.Fn netisr_setqlimit. >+.Fn netisr_setqlimit . > .Pp > .Nm > supports multi-processor execution of handlers, and relies on a combination >diff -u src/share/man/man9/pci.9.orig src/share/man/man9/pci.9 >--- src/share/man/man9/pci.9.orig 2012-05-19 03:40:48.000000000 +0900 >+++ src/share/man/man9/pci.9 2012-05-19 03:41:38.000000000 +0900 >@@ -488,7 +488,7 @@ > .Fn pci_count_msi > function returns the maximum number of MSI messages supported by the > device >-.Fa dev. >+.Fa dev . > If the device does not support MSI, > then > .Fn pci_count_msi >@@ -567,7 +567,8 @@ > returns zero. > For MSI-X messages, > the resource ID for each >-.Dv SYS_RES_IRQ resource identifies the index in the MSI-X table of the >+.Dv SYS_RES_IRQ >+resource identifies the index in the MSI-X table of the > corresponding message. > A resource ID of one maps to the first index of the MSI-X table; > a resource ID two identifies the second index in the table, etc. >@@ -608,7 +609,7 @@ > table entries via the > .Fn pci_remap_msix > function. >-Note that this function must be called after a succesful call to >+Note that this function must be called after a successful call to > .Fn pci_alloc_msix > but before any of the > .Dv SYS_RES_IRQ >@@ -649,7 +650,8 @@ > .Fn pci_alloc_msix . > MSI-X table entries that with a vector of zero will not have an > associated >-.Dv SYS_RES_IRQ resource. >+.Dv SYS_RES_IRQ >+resource. > Additionally, > if any of the original messages allocated by > .Fn pci_alloc_msix >diff -u src/share/man/man9/spl.9.orig src/share/man/man9/spl.9 >--- src/share/man/man9/spl.9.orig 2012-05-19 03:44:47.000000000 +0900 >+++ src/share/man/man9/spl.9 2012-05-19 03:45:01.000000000 +0900 >@@ -220,7 +220,8 @@ > The historical number scheme can be considered as a > simple linearly ordered set of interrupt priority groups. > .Pp >-.Fx 5.0 eliminated spl entirely in favor of locking primitives which scale >+.Fx 5.0 >+eliminated spl entirely in favor of locking primitives which scale > to more than one processor. > .Sh AUTHORS > This manual page was written by >diff -u src/share/man/man9/sysctl.9.orig src/share/man/man9/sysctl.9 >--- src/share/man/man9/sysctl.9.orig 2012-05-19 03:45:09.000000000 +0900 >+++ src/share/man/man9/sysctl.9 2012-05-19 03:45:20.000000000 +0900 >@@ -107,7 +107,7 @@ > This is an opaque data structure. > .It Dv CTLTYPE_STRUCT > Alias for >-.Dv CTLTYPE_OPAQUE. >+.Dv CTLTYPE_OPAQUE . > .It Dv CTLTYPE_UINT > This is an unsigned integer. > .It Dv CTLTYPE_LONG >diff -u src/share/man/man9/taskqueue.9.orig src/share/man/man9/taskqueue.9 >--- src/share/man/man9/taskqueue.9.orig 2012-05-19 03:45:28.000000000 +0900 >+++ src/share/man/man9/taskqueue.9 2012-05-19 03:46:26.000000000 +0900 >@@ -189,8 +189,8 @@ > count is cleared, and the old value returned in the reference > parameter > .Fa pendp , >-if it is non- >-.Dv NULL . >+if it is >+.Pf non- Dv NULL . > If the task is currently running, > .Dv EBUSY > is returned, otherwise 0. >diff -u src/share/man/man9/usbdi.9.orig src/share/man/man9/usbdi.9 >--- src/share/man/man9/usbdi.9.orig 2012-05-19 03:47:40.000000000 +0900 >+++ src/share/man/man9/usbdi.9 2012-05-19 03:48:13.000000000 +0900 >@@ -524,7 +524,7 @@ > . > This flag can be changed during operation. > .Pp >-"BOF" is short for "Block On Failure" >+"BOF" is short for "Block On Failure". > .Pp > NOTE: This flag should be set on all BULK and INTERRUPT USB transfers > which use an endpoint that can be shared between userland and kernel. >diff -u src/share/man/man9m_page_aflag.9,v.orig src/share/man/man9m_page_aflag.9,v >--- src/share/man/man9m_page_aflag.9,v.orig 2012-05-19 03:48:30.000000000 +0900 >+++ src/share/man/man9m_page_aflag.9,v 2012-05-19 03:49:22.000000000 +0900 >@@ -27,7 +27,7 @@ > .\" $FreeBSD: src/share/man/man9/src/share/man/man9m_page_aflag.9,v,v 1.1 2011/09/06 10:40:21 kib Exp $ > .\" > .Dd August 31, 2011 >-.Dt VM_PAGE_FLAG 9 >+.Dt VM_PAGE_AFLAG 9 > .Os > .Sh NAME > .Nm vm_page_aflag_clear , vm_page_aflag_set , vm_page_reference
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 168117
: 124629