Use device_printf() and s/fc->dev/fc->bdev/.
This commit is contained in:
parent
267e74adbd
commit
17faeefca6
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user