aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/pci/pci_pir.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/pci/pci_pir.c')
-rw-r--r--sys/i386/pci/pci_pir.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/i386/pci/pci_pir.c b/sys/i386/pci/pci_pir.c
index 6750e85deb40..ec56fcb2c54e 100644
--- a/sys/i386/pci/pci_pir.c
+++ b/sys/i386/pci/pci_pir.c
@@ -653,11 +653,8 @@ pci_pir_probe(int bus, int require_parse)
static int
pir_probe(device_t dev)
{
- char buf[64];
-
- snprintf(buf, sizeof(buf), "PCI Interrupt Routing Table: %d Entries",
+ device_set_descf(dev, "PCI Interrupt Routing Table: %d Entries",
pci_route_count);
- device_set_desc_copy(dev, buf);
return (0);
}