From 20bbcd4c386aabbe7f8c708d33fe7cc8e174c209 Mon Sep 17 00:00:00 2001 From: njl Date: Thu, 27 Jan 2005 20:49:59 +0000 Subject: [PATCH] Consistently use pcib for a printf. --- sys/dev/acpica/acpi_pcib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/acpica/acpi_pcib.c b/sys/dev/acpica/acpi_pcib.c index 1b10ce9f6753..0585e2058d58 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; }