Print before the footer, not after.
This commit is contained in:
parent
bb55da4e20
commit
0749ec30a6
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user