aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2002-09-28 17:47:51 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2002-09-28 17:47:51 +0000
commitb28a0fe1967dc7b1172f8ba9440837e63d728197 (patch)
tree56c912e2066d77948623439796d25c513beaa34d /sys
parent53cc4793934d88527dce1c4998c14d45e64ddd62 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/pci.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index 8b19b5c929ec2..76bae52ec9bcf 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -980,8 +980,9 @@ pci_probe_nomatch(device_t dev, device_t child)
}
}
device_printf(dev, "<%s%s%s>",
- cp ? : "", ((cp != NULL) && (scp != NULL)) ? ", " : "",
- scp ? : "");
+ cp ? cp : "",
+ ((cp != NULL) && (scp != NULL)) ? ", " : "",
+ scp ? scp : "");
}
printf(" at device %d.%d (no driver attached)\n",
pci_get_slot(child), pci_get_function(child));