summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2004-10-13 07:29:29 +0000
committernjl <njl@FreeBSD.org>2004-10-13 07:29:29 +0000
commit0749ec30a6934e909ae4d32cec0284bb8ba976be (patch)
treeb0244e10fe475f316350dc77975e5dde3abed3a1 /sys/dev/acpica
parentbb55da4e205aa3e96174c625f313d1a5bf199176 (diff)
downloadFreeBSD-src-0749ec30a6934e909ae4d32cec0284bb8ba976be.zip
FreeBSD-src-0749ec30a6934e909ae4d32cec0284bb8ba976be.tar.gz
Print before the footer, not after.
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r--sys/dev/acpica/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c
index 0823d29..2bdeaf6 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);
}
OpenPOWER on IntegriCloud