aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc/powermac
diff options
context:
space:
mode:
authorZhenlei Huang <zlei@FreeBSD.org>2023-04-12 04:20:38 +0000
committerZhenlei Huang <zlei@FreeBSD.org>2023-04-12 04:20:38 +0000
commitdc1c5138c3255cc9004a3842001ed6c5db8f4ea3 (patch)
treefe06663834c5b050e52aed634ebfd6d887af57a6 /sys/powerpc/powermac
parent7968a06a69344cbaaa88c475b0fe7aa8c2833039 (diff)
Diffstat (limited to 'sys/powerpc/powermac')
-rw-r--r--sys/powerpc/powermac/powermac_thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/powermac/powermac_thermal.c b/sys/powerpc/powermac/powermac_thermal.c
index 2b1c383ded10..03dbb998559f 100644
--- a/sys/powerpc/powermac/powermac_thermal.c
+++ b/sys/powerpc/powermac/powermac_thermal.c
@@ -61,7 +61,7 @@ static struct kproc_desc pmac_therm_kp = {
SYSINIT(pmac_therm_setup, SI_SUB_KTHREAD_IDLE, SI_ORDER_ANY, kproc_start,
&pmac_therm_kp);
-SYSCTL_INT(_machdep, OID_AUTO, manage_fans, CTLFLAG_RW | CTLFLAG_TUN,
+SYSCTL_INT(_machdep, OID_AUTO, manage_fans, CTLFLAG_RWTUN,
&enable_pmac_thermal, 1, "Enable automatic fan management");
static MALLOC_DEFINE(M_PMACTHERM, "pmactherm", "Powermac Thermal Management");