diff options
author | Bruce Evans <bde@FreeBSD.org> | 2002-05-25 11:18:03 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 2002-05-25 11:18:03 +0000 |
commit | e788f79698b258ad50a9b365528db862c4a21701 (patch) | |
tree | fbf20da1fb26fed2cfde064298c4e981ca36afcf /sys/dev/acpica/acpi_button.c | |
parent | ae4c33defa94ec371e1e0b073c45efa3077687c9 (diff) | |
download | src-e788f79698b258ad50a9b365528db862c4a21701.tar.gz src-e788f79698b258ad50a9b365528db862c4a21701.zip |
Fixed printf format errors which apparently crept in while -Wformat was
disabled for gcc-3.
Notes
Notes:
svn path=/head/; revision=97274
Diffstat (limited to 'sys/dev/acpica/acpi_button.c')
-rw-r--r-- | sys/dev/acpica/acpi_button.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/sys/dev/acpica/acpi_button.c b/sys/dev/acpica/acpi_button.c index fb933771c9d9..150689584c07 100644 --- a/sys/dev/acpica/acpi_button.c +++ b/sys/dev/acpica/acpi_button.c @@ -133,13 +133,11 @@ acpi_button_notify_pressed_for_sleep(void *arg) switch (sc->button_type) { case ACPI_POWER_BUTTON: - ACPI_VPRINT(sc->button_dev, acpi_sc, - "power button pressed\n", sc->button_type); + ACPI_VPRINT(sc->button_dev, acpi_sc, "power button pressed\n"); acpi_eventhandler_power_button_for_sleep((void *)acpi_sc); break; case ACPI_SLEEP_BUTTON: - ACPI_VPRINT(sc->button_dev, acpi_sc, - "sleep button pressed\n", sc->button_type); + ACPI_VPRINT(sc->button_dev, acpi_sc, "sleep button pressed\n"); acpi_eventhandler_sleep_button_for_sleep((void *)acpi_sc); break; default: @@ -164,13 +162,11 @@ acpi_button_notify_pressed_for_wakeup(void *arg) switch (sc->button_type) { case ACPI_POWER_BUTTON: - ACPI_VPRINT(sc->button_dev, acpi_sc, - "wakeup by power button\n", sc->button_type); + ACPI_VPRINT(sc->button_dev, acpi_sc, "wakeup by power button\n"); acpi_eventhandler_power_button_for_wakeup((void *)acpi_sc); break; case ACPI_SLEEP_BUTTON: - ACPI_VPRINT(sc->button_dev, acpi_sc, - "wakeup by sleep button\n", sc->button_type); + ACPI_VPRINT(sc->button_dev, acpi_sc, "wakeup by sleep button\n"); acpi_eventhandler_sleep_button_for_wakeup((void *)acpi_sc); break; default: |