Print before the footer, not after.

This commit is contained in:
njl 2004-10-13 07:29:29 +00:00
parent bb55da4e20
commit 0749ec30a6

View File

@ -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);
}