svn commit: r315799 - head/share/man/man9

Ngie Cooper ngie at FreeBSD.org
Thu Mar 23 05:51:56 UTC 2017


Author: ngie
Date: Thu Mar 23 05:51:54 2017
New Revision: 315799
URL: https://svnweb.freebsd.org/changeset/base/315799

Log:
  counter(9): fix igor/manlint warnings
  
  - Reword description of `counter_enter` slightly to fix
    wordiness [1].
  - Expand "isn't" as "is not" [1].
  - Add missing section number with .Xr sysctl calls [2].
  
  MFC after:	1 week
  Reported by:	igor [1], make manlint [2]
  Sponsored by:	Dell EMC Isilon

Modified:
  head/share/man/man9/counter.9

Modified: head/share/man/man9/counter.9
==============================================================================
--- head/share/man/man9/counter.9	Thu Mar 23 05:44:18 2017	(r315798)
+++ head/share/man/man9/counter.9	Thu Mar 23 05:51:54 2017	(r315799)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd December 8, 2016
+.Dd March 22, 2017
 .Dt COUNTER 9
 .Os
 .Sh NAME
@@ -107,7 +107,7 @@ to
 .Fa c .
 The KPI does not guarantee any protection from wraparound.
 .It Fn counter_enter
-Enter mode that would allow to safely update several counters via
+Enter mode that would allow the safe update of several counters via
 .Fn counter_u64_add_protected .
 On some machines this expands to
 .Xr critical 9
@@ -136,7 +136,7 @@ The function is a multiprocessor-friendl
 which uses
 .Nm
 internally.
-Returns non-negative value if the rate isn't yet reached during the current
+Returns non-negative value if the rate is not yet reached during the current
 second, and a negative value otherwise.
 If the limit was reached on previous second, but was just reset back to zero,
 then
@@ -144,7 +144,7 @@ then
 returns number of events since previous reset.
 .It Fn SYSCTL_COUNTER_U64 parent nbr name access ptr descr
 Declare a static
-.Xr sysctl
+.Xr sysctl 9
 oid that would represent a
 .Nm .
 The
@@ -156,7 +156,7 @@ A read of the oid returns value obtained
 Any write to the oid zeroes it.
 .It Fn SYSCTL_ADD_COUNTER_U64 ctx parent nbr name access ptr descr
 Create a
-.Xr sysctl
+.Xr sysctl 9
 oid that would represent a
 .Nm .
 The
@@ -168,7 +168,7 @@ A read of the oid returns value obtained
 Any write to the oid zeroes it.
 .It Fn SYSCTL_COUNTER_U64_ARRAY parent nbr name access ptr len descr
 Declare a static
-.Xr sysctl
+.Xr sysctl 9
 oid that would represent an array of
 .Nm .
 The
@@ -185,7 +185,7 @@ values  obtained through
 Any write to the oid zeroes all array elements.
 .It Fn SYSCTL_ADD_COUNTER_U64_ARRAY ctx parent nbr name access ptr len descr
 Create a
-.Xr sysctl
+.Xr sysctl 9
 oid that would represent an array of
 .Nm .
 The


More information about the svn-src-all mailing list