summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2001-07-30 00:30:58 +0000
committermjacob <mjacob@FreeBSD.org>2001-07-30 00:30:58 +0000
commita37e3009d0637a2f74a844dacfda2fd8d14fdd86 (patch)
tree04154b64e066ec01f24621d6f1ee52f8544458fb /sys
parent599acde4d568d735a4618f911df394ac38dc2bfa (diff)
downloadFreeBSD-src-a37e3009d0637a2f74a844dacfda2fd8d14fdd86.zip
FreeBSD-src-a37e3009d0637a2f74a844dacfda2fd8d14fdd86.tar.gz
(Forced commit- last one missed the comments)
Handle both old and new TARGIOALLOCUNIT/TARGIOFREEUNIT cases- the new one allows us to specify inquiry data we want to use. Handle more of the CAM_DIS_DISCONNECT case.
Diffstat (limited to 'sys')
-rw-r--r--sys/cam/scsi/scsi_target.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/cam/scsi/scsi_target.c b/sys/cam/scsi/scsi_target.c
index 48fa268..d7370ee 100644
--- a/sys/cam/scsi/scsi_target.c
+++ b/sys/cam/scsi/scsi_target.c
@@ -2155,8 +2155,8 @@ allocdescr()
struct targ_cmd_desc* descr;
/* Allocate the targ_descr structure */
- descr = (struct targ_cmd_desc *)malloc(sizeof(*descr),
- M_DEVBUF, M_NOWAIT);
+ descr = (struct targ_cmd_desc *)
+ malloc(sizeof(*descr), M_DEVBUF, M_NOWAIT);
if (descr == NULL)
return (NULL);
OpenPOWER on IntegriCloud