git: e966eb403971 - main - acpi: Fix typos in sysctl descriptions

From: Aymeric Wibo <obiwac_at_FreeBSD.org>
Date: Fri, 28 Nov 2025 14:44:46 UTC
The branch main has been updated by obiwac:

URL: https://cgit.FreeBSD.org/src/commit/?id=e966eb4039717c888ee74a65768346088012fb4a

commit e966eb4039717c888ee74a65768346088012fb4a
Author:     Aymeric Wibo <obiwac@FreeBSD.org>
AuthorDate: 2025-11-28 14:26:26 +0000
Commit:     Aymeric Wibo <obiwac@FreeBSD.org>
CommitDate: 2025-11-28 14:42:57 +0000

    acpi: Fix typos in sysctl descriptions
    
    Reviewed by:    thj, emaste
    Approved by:    thj
    Sponsored by:   The FreeBSD Foundation
---
 sys/dev/acpica/acpi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c
index 99dd817f9158..54e0d7be7920 100644
--- a/sys/dev/acpica/acpi.c
+++ b/sys/dev/acpica/acpi.c
@@ -616,7 +616,7 @@ acpi_attach(device_t dev)
 	CTLTYPE_STRING | CTLFLAG_RW | CTLFLAG_MPSAFE,
 	&sc->acpi_lid_switch_stype, 0, acpi_stype_sysctl, "A",
 	"Lid ACPI sleep state. Set to s2idle or s2mem if you want to suspend "
-	"your laptop when close the lid.");
+	"your laptop when you close the lid.");
     SYSCTL_ADD_PROC(&sc->acpi_sysctl_ctx, SYSCTL_CHILDREN(sc->acpi_sysctl_tree),
 	OID_AUTO, "suspend_state", CTLTYPE_STRING | CTLFLAG_RW | CTLFLAG_MPSAFE,
 	NULL, 0, acpi_suspend_state_sysctl, "A",
@@ -626,7 +626,7 @@ acpi_attach(device_t dev)
 	OID_AUTO, "standby_state",
 	CTLTYPE_STRING | CTLFLAG_RW | CTLFLAG_MPSAFE,
 	&sc->acpi_standby_sx, 0, acpi_sleep_state_sysctl, "A",
-	"ACPI Sx state to use when going standby (S1 or S2).");
+	"ACPI Sx state to use when going standby (usually S1 or S2).");
     SYSCTL_ADD_INT(&sc->acpi_sysctl_ctx, SYSCTL_CHILDREN(sc->acpi_sysctl_tree),
 	OID_AUTO, "sleep_delay", CTLFLAG_RW, &sc->acpi_sleep_delay, 0,
 	"sleep delay in seconds");