mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
pir: Use device_set_descf()
No functional change intended.
MFC after: 1 week
(cherry picked from commit a96a957712)
This commit is contained in:
parent
ddb9040fc2
commit
c64abeae22
1 changed files with 1 additions and 4 deletions
|
|
@ -654,11 +654,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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue