Fix kernel build after r328523, correct variable names

Reviewed by:	delphij
Differential Revision:	https://reviews.freebsd.org/D14105
This commit is contained in:
Li-Wen Hsu 2018-01-29 04:04:52 +00:00
parent 2480071fbc
commit 156531d65a
2 changed files with 2 additions and 2 deletions

View File

@ -1399,7 +1399,7 @@ adv_attach(adv)
csa.callback_arg = adv;
xpt_action((union ccb *)&csa);
mtx_unlock(&adv->lock);
gone_in_dev(adv->adv, 12, "adv(4) driver");
gone_in_dev(adv->dev, 12, "adv(4) driver");
return (0);
}

View File

@ -1173,7 +1173,7 @@ adw_attach(struct adw_softc *adw)
xpt_action((union ccb *)&csa);
}
gone_in_dev(adv->adv, 12, "adw(4) driver");
gone_in_dev(adw->device, 12, "adw(4) driver");
fail:
mtx_unlock(&adw->lock);
return (error);