summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/acpica/acpi.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c
index d7149d6..a46b485 100644
--- a/sys/dev/acpica/acpi.c
+++ b/sys/dev/acpica/acpi.c
@@ -1027,7 +1027,6 @@ static void
acpi_enable_fixed_events(struct acpi_softc *sc)
{
static int first_time = 1;
-#define MSGFORMAT "%s button is handled as a fixed feature programming model.\n"
ACPI_ASSERTLOCK;
@@ -1039,7 +1038,7 @@ acpi_enable_fixed_events(struct acpi_softc *sc)
acpi_eventhandler_power_button_for_sleep,
sc);
if (first_time)
- device_printf(sc->acpi_dev, MSGFORMAT, "power");
+ device_printf(sc->acpi_dev, "Power Button (fixed)");
}
if (AcpiGbl_FADT != NULL && AcpiGbl_FADT->SleepButton == 0) {
AcpiEnableEvent(ACPI_EVENT_SLEEP_BUTTON, 0);
@@ -1048,7 +1047,7 @@ acpi_enable_fixed_events(struct acpi_softc *sc)
acpi_eventhandler_sleep_button_for_sleep,
sc);
if (first_time)
- device_printf(sc->acpi_dev, MSGFORMAT, "sleep");
+ device_printf(sc->acpi_dev, "Sleep Button (fixed)");
}
first_time = 0;
OpenPOWER on IntegriCloud