aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorAymeric Wibo <obiwac@FreeBSD.org>2026-05-22 09:58:57 +0000
committerAymeric Wibo <obiwac@FreeBSD.org>2026-05-22 10:01:07 +0000
commitf814650aaf788323b3d485d96996fce6cd7b2d7f (patch)
tree1f2382a286469dac731f31a4cd683cbf7d678d9d /sys/dev
parent28d85db46b484589e2ee74cf4b270db066821de1 (diff)
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/acpica/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c
index ec1f002150c1..8be94db73729 100644
--- a/sys/dev/acpica/acpi.c
+++ b/sys/dev/acpica/acpi.c
@@ -4609,7 +4609,7 @@ acpi_sleep_state_sysctl(SYSCTL_HANDLER_ARGS)
static int
acpi_stype_sysctl(SYSCTL_HANDLER_ARGS)
{
- char name[10];
+ char name[POWER_STYPE_NAME_LEN];
int err;
int sstate;
enum power_stype new_stype, old_stype;