Index | Thread | Search

From:
Matthias Schmidt <openbsd@xosc.org>
Subject:
Typo in sysctl.2 for hw.blockcpu
To:
tech@openbsd.org
Date:
Sat, 4 Apr 2026 21:15:04 +0200

Download raw body.

Thread
I think the recent commit to sysctl.2 for the addition of hw.blockcpu
uses the wrong name.

Cheers

	Matthias

diff /usr/src
path + /usr/src
commit - c9c58e023502b583441db140cc3916e05c5ef1c6
blob - a0d3dd438aef165d8d6150e854f903619537c9d5
file + lib/libc/sys/sysctl.2
--- lib/libc/sys/sysctl.2
+++ lib/libc/sys/sysctl.2
@@ -425,7 +425,7 @@ support it.
 Deprecated, use
 .Va hw.blockcpu
 instead.
-.It Dv HW_BLOCKCPU Pq Va hw.smt
+.It Dv HW_BLOCKCPU Pq Va hw.blockcpu
 A series of characters
 .Ar ( S
 (SMT),