From 5292755b7ebd836906362bc8d19f979278fa65d9 Mon Sep 17 00:00:00 2001 From: mjacob Date: Fri, 16 Jun 2006 14:04:21 +0000 Subject: Unbreak tinderbox- fix device_printf arg to accomodate different sizes of vm_paddr_t in different contexts (e.g., PAE vs. non PAE). --- sys/i386/acpica/acpi_wakeup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/i386') diff --git a/sys/i386/acpica/acpi_wakeup.c b/sys/i386/acpica/acpi_wakeup.c index 8295f9f..f1a7ec7 100644 --- a/sys/i386/acpica/acpi_wakeup.c +++ b/sys/i386/acpica/acpi_wakeup.c @@ -333,8 +333,8 @@ acpi_realmodeinst(void *arg, bus_dma_segment_t *segs, int nsegs, int error) /* Copy the wake code into our low page and save its physical addr. */ bcopy(wakecode, (void *)sc->acpi_wakeaddr, sizeof(wakecode)); if (bootverbose) { - device_printf(sc->acpi_dev, "wakeup code va %#x pa %#x\n", - acpi_wakeaddr, sc->acpi_wakephys); + device_printf(sc->acpi_dev, "wakeup code va %#x pa %#jx\n", + acpi_wakeaddr, (uintmax_t)sc->acpi_wakephys); } } -- cgit v1.1