diff options
author | mjacob <mjacob@FreeBSD.org> | 2001-07-30 00:30:58 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2001-07-30 00:30:58 +0000 |
commit | a37e3009d0637a2f74a844dacfda2fd8d14fdd86 (patch) | |
tree | 04154b64e066ec01f24621d6f1ee52f8544458fb /sys | |
parent | 599acde4d568d735a4618f911df394ac38dc2bfa (diff) | |
download | FreeBSD-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.c | 4 |
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); |