diff options
author | scottl <scottl@FreeBSD.org> | 2007-04-18 04:58:53 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2007-04-18 04:58:53 +0000 |
commit | a40b57339d0ae20db108ee7c13ef670039d1f2c7 (patch) | |
tree | 7a504d9115e85179155d0fb6137bd3588944fe08 /sys/cam/scsi/scsi_pass.c | |
parent | 4db8f3e0cc218ebbc69857ffdd274e67b815cd31 (diff) | |
download | FreeBSD-src-a40b57339d0ae20db108ee7c13ef670039d1f2c7.zip FreeBSD-src-a40b57339d0ae20db108ee7c13ef670039d1f2c7.tar.gz |
Revert a driver API change to xpt_alloc_ccb that isn't necessary. Fix a
couple of associated error checks.
Diffstat (limited to 'sys/cam/scsi/scsi_pass.c')
-rw-r--r-- | sys/cam/scsi/scsi_pass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/scsi/scsi_pass.c b/sys/cam/scsi/scsi_pass.c index 62aaccf..5617ef0 100644 --- a/sys/cam/scsi/scsi_pass.c +++ b/sys/cam/scsi/scsi_pass.c @@ -490,7 +490,7 @@ passioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flag, struct thread *t inccb->ccb_h.pinfo.priority); ccb_malloced = 0; } else { - ccb = xpt_alloc_ccb_nowait(periph->sim); + ccb = xpt_alloc_ccb_nowait(); if (ccb != NULL) xpt_setup_ccb(&ccb->ccb_h, periph->path, |