summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpi_pcib.c
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2005-01-27 20:49:59 +0000
committernjl <njl@FreeBSD.org>2005-01-27 20:49:59 +0000
commit20bbcd4c386aabbe7f8c708d33fe7cc8e174c209 (patch)
tree9c6fb5fd79ab1ef8678b492b304bc0c083804fc8 /sys/dev/acpica/acpi_pcib.c
parent217734da8444808c7ae715f08255313cd0fe44a4 (diff)
downloadFreeBSD-src-20bbcd4c386aabbe7f8c708d33fe7cc8e174c209.zip
FreeBSD-src-20bbcd4c386aabbe7f8c708d33fe7cc8e174c209.tar.gz
Consistently use pcib for a printf.
Diffstat (limited to 'sys/dev/acpica/acpi_pcib.c')
-rw-r--r--sys/dev/acpica/acpi_pcib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpi_pcib.c b/sys/dev/acpica/acpi_pcib.c
index 1b10ce9..0585e20 100644
--- a/sys/dev/acpica/acpi_pcib.c
+++ b/sys/dev/acpica/acpi_pcib.c
@@ -107,7 +107,7 @@ prt_attach_devices(ACPI_PCI_ROUTING_TABLE *entry, void *arg)
/* If the device hasn't been probed yet, force it to do so. */
error = device_probe_and_attach(child);
if (error != 0) {
- device_printf((device_t)arg, "failed to force attach of %s\n",
+ device_printf(pcib, "failed to force attach of %s\n",
acpi_name(handle));
return;
}
OpenPOWER on IntegriCloud