summaryrefslogtreecommitdiff
path: root/sys/dev/firewire/fwdev.c
diff options
context:
space:
mode:
authorHidetoshi Shimokawa <simokawa@FreeBSD.org>2003-01-06 08:07:20 +0000
committerHidetoshi Shimokawa <simokawa@FreeBSD.org>2003-01-06 08:07:20 +0000
commit17faeefca6ed8711eba311873ba918eb1df61f9a (patch)
tree97980e897821d8723b5e92e8dd6257e27f491dc6 /sys/dev/firewire/fwdev.c
parent267e74adbd0d9df72809e29957d26392f52f65c0 (diff)
Notes
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 1c9a70d705da..c6e7c581e56b 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;
}