From 2c8d3b23ed9bc223ded922187368939e73d257e4 Mon Sep 17 00:00:00 2001 From: Nate Lawson Date: Wed, 13 Oct 2004 07:29:29 +0000 Subject: [PATCH] Print before the footer, not after. --- sys/dev/acpica/acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c index 0823d29cb067..2bdeaf66f1d9 100644 --- a/sys/dev/acpica/acpi.c +++ b/sys/dev/acpica/acpi.c @@ -617,9 +617,9 @@ acpi_print_child(device_t bus, device_t child) retval += resource_list_print_type(rl, "iomem", SYS_RES_MEMORY, "%#lx"); retval += resource_list_print_type(rl, "irq", SYS_RES_IRQ, "%ld"); retval += resource_list_print_type(rl, "drq", SYS_RES_DRQ, "%ld"); - retval += bus_print_child_footer(bus, child); if (device_get_flags(child)) retval += printf(" flags %#x", device_get_flags(child)); + retval += bus_print_child_footer(bus, child); return (retval); }