mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 18:56:38 +00:00
pir: Use device_set_descf()
No functional change intended. MFC after: 1 week
This commit is contained in:
parent
c704b87ba6
commit
a96a957712
|
@ -653,11 +653,8 @@ pci_pir_probe(int bus, int require_parse)
|
||||||
static int
|
static int
|
||||||
pir_probe(device_t dev)
|
pir_probe(device_t dev)
|
||||||
{
|
{
|
||||||
char buf[64];
|
device_set_descf(dev, "PCI Interrupt Routing Table: %d Entries",
|
||||||
|
|
||||||
snprintf(buf, sizeof(buf), "PCI Interrupt Routing Table: %d Entries",
|
|
||||||
pci_route_count);
|
pci_route_count);
|
||||||
device_set_desc_copy(dev, buf);
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue