summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2003-09-18 05:01:03 +0000
committernjl <njl@FreeBSD.org>2003-09-18 05:01:03 +0000
commite337699483820218b1a7c297ccec2b0c0bd456e8 (patch)
tree6bc3f0e0dc622f833e0da465ea2bbb930dd5a87c /sys/dev/acpica
parent8c313e90831739d9340e924337499e3688d73202 (diff)
downloadFreeBSD-src-e337699483820218b1a7c297ccec2b0c0bd456e8.zip
FreeBSD-src-e337699483820218b1a7c297ccec2b0c0bd456e8.tar.gz
Shorten the message announcing fixed power/sleep buttons.
Diffstat (limited to 'sys/dev/acpica')
-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