summaryrefslogtreecommitdiffstats
path: root/sys/dev/firewire/fwdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/firewire/fwdev.c')
-rw-r--r--sys/dev/firewire/fwdev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/firewire/fwdev.c b/sys/dev/firewire/fwdev.c
index 1c9a70d..c6e7c58 100644
--- a/sys/dev/firewire/fwdev.c
+++ b/sys/dev/firewire/fwdev.c
@@ -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;
}
OpenPOWER on IntegriCloud