Use better gone_in_dev rather than just gone_in to print the device name.

This commit is contained in:
imp 2020-08-18 06:34:56 +00:00
parent e4a8b4b3b4
commit 821b3f694e

View File

@ -845,7 +845,7 @@ pccard_attach(device_t dev)
sc->sc_enabled_count = 0;
if ((err = pccard_device_create(sc)) != 0)
return (err);
gone_in(13, "PC Card to be removed.");
gone_in_dev(dev, 13, "PC Card to be removed.");
STAILQ_INIT(&sc->card.pf_head);
return (bus_generic_attach(dev));
}