aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAymeric Wibo <obiwac@FreeBSD.org>2025-09-18 09:45:12 +0000
committerAymeric Wibo <obiwac@FreeBSD.org>2025-09-18 09:48:55 +0000
commit25cddb1dfec6cfd874961ed08dcc9c76ec533df1 (patch)
tree279059d894782757e0465b8c9c9b6df686474d67
parentea5e50c2985bea029e7b30ecee773a59fe22cd68 (diff)
Revert "acpi: Fix build when `ACPI_DEBUG_OUTPUT` defined"
This reverts commit 4894f5ba394306a75dbed9ed4377ab0eae75aede. PR: 289634
-rw-r--r--sys/dev/acpica/acpi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c
index 175bfe835e6f..702e1ecb5340 100644
--- a/sys/dev/acpica/acpi.c
+++ b/sys/dev/acpica/acpi.c
@@ -3425,7 +3425,7 @@ acpi_EnterSleepState(struct acpi_softc *sc, enum power_stype stype)
enum acpi_sleep_state slp_state;
int sleep_result;
- ACPI_FUNCTION_TRACE_U32((char *)(uintptr_t)__func__, stype);
+ ACPI_FUNCTION_TRACE_U32((char *)(uintptr_t)__func__, state);
if (stype <= POWER_STYPE_AWAKE || stype >= POWER_STYPE_COUNT)
return_ACPI_STATUS (AE_BAD_PARAMETER);
@@ -3939,7 +3939,7 @@ acpi_system_eventhandler_sleep(void *arg, enum power_stype stype)
struct acpi_softc *sc = (struct acpi_softc *)arg;
int ret;
- ACPI_FUNCTION_TRACE_U32((char *)(uintptr_t)__func__, stype);
+ ACPI_FUNCTION_TRACE_U32((char *)(uintptr_t)__func__, state);
/* Check if button action is disabled or unknown. */
if (stype == ACPI_STATE_UNKNOWN)