summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2019-01-14 02:05:46 +0000
committertedu <tedu@openbsd.org>2019-01-14 02:05:46 +0000
commita5ac40cbb38d5e7fd01bb3507257d3119f5200d0 (patch)
tree8ccf8757493c26f8c0a3f666fed66eb1809c24f1
parentdo not peek before the beginning of a string (diff)
downloadwireguard-openbsd-a5ac40cbb38d5e7fd01bb3507257d3119f5200d0.tar.xz
wireguard-openbsd-a5ac40cbb38d5e7fd01bb3507257d3119f5200d0.zip
hint that kern.clockrate is the userland sysctl name by referring to
KERN_CLOCKRATE instead of the returned type.
-rw-r--r--share/man/man9/hz.98
1 files changed, 5 insertions, 3 deletions
diff --git a/share/man/man9/hz.9 b/share/man/man9/hz.9
index a319266e518..c4964dbdebc 100644
--- a/share/man/man9/hz.9
+++ b/share/man/man9/hz.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: hz.9,v 1.8 2018/01/12 04:36:45 deraadt Exp $
+.\" $OpenBSD: hz.9,v 1.9 2019/01/14 02:05:46 tedu Exp $
.\"
.\" Copyright (c) 1999 Marc Espie
.\" All rights reserved.
@@ -23,7 +23,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: January 12 2018 $
+.Dd $Mdocdate: January 14 2019 $
.Dt HZ 9
.Os
.Sh NAME
@@ -79,7 +79,9 @@ may be used to skew this increment, but by no more
than ten times
.Va tickadj .
.Pp
-Those systems variables are available as a struct clockinfo from
+These system variables are available by reading
+.Dv KERN_CLOCKRATE
+from
.Xr sysctl 2 .
.Sh SEE ALSO
.Xr adjtime 2 ,