Use device_printf() and s/fc->dev/fc->bdev/.

This commit is contained in:
Hidetoshi Shimokawa 2003-01-06 08:07:20 +00:00
parent 267e74adbd
commit 17faeefca6

View File

@ -728,8 +728,8 @@ fw_ioctl (dev_t dev, u_long cmd, caddr_t data, int flag, fw_proc *td)
case FWASREQEUI:
fwdev = fw_noderesolve(sc->fc, asyreq->req.dst.eui);
if (fwdev == NULL) {
printf("%s:cannot find node\n",
device_get_nameunit(sc->fc->dev));
device_printf(sc->fc->bdev,
"cannot find node\n");
err = EINVAL;
goto error;
}