Use device_set_desc_copy in the generic ident as its used on a temp buffer.
This commit is contained in:
parent
0d985fab86
commit
91b4ff52c7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=173950
@ -198,7 +198,7 @@ ata_generic_ident(device_t dev)
|
||||
char buffer[64];
|
||||
|
||||
sprintf(buffer, "%s ATA controller", ata_pcivendor2str(dev));
|
||||
device_set_desc(dev, buffer);
|
||||
device_set_desc_copy(dev, buffer);
|
||||
ctlr->chipinit = ata_generic_chipinit;
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user