diff options
author | mjacob <mjacob@FreeBSD.org> | 2006-12-05 07:47:22 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2006-12-05 07:47:22 +0000 |
commit | 614031730cf9e328ab5c65b9d203015984aa9bc4 (patch) | |
tree | 888855de9205d56043e02874e880d306f7399ed6 /sys/dev/mpt | |
parent | 18ed122eede36bb9f67ea05ce9fdf22674da2365 (diff) | |
download | FreeBSD-src-614031730cf9e328ab5c65b9d203015984aa9bc4.zip FreeBSD-src-614031730cf9e328ab5c65b9d203015984aa9bc4.tar.gz |
use xpt_print function
Diffstat (limited to 'sys/dev/mpt')
-rw-r--r-- | sys/dev/mpt/mpt_cam.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/mpt/mpt_cam.c b/sys/dev/mpt/mpt_cam.c index a6ba51d..b380fc5 100644 --- a/sys/dev/mpt/mpt_cam.c +++ b/sys/dev/mpt/mpt_cam.c @@ -2911,9 +2911,8 @@ mpt_action(struct cam_sim *sim, union ccb *ccb) break; } case XPT_RESET_DEV: - xpt_print_path(ccb->ccb_h.path); - printf("reset %s\n", ccb->ccb_h.func_code == XPT_RESET_BUS? - "bus" : "device"); + xpt_print(ccb->ccb_h.path, "reset %s\n", + ccb->ccb_h.func_code == XPT_RESET_BUS? "bus" : "device"); CAMLOCK_2_MPTLOCK(mpt); (void) mpt_bus_reset(mpt, tgt, lun, FALSE); MPTLOCK_2_CAMLOCK(mpt); |