Fix copy/paste bug in r306747.

Submitted by:	emaste, pfg
MFC after:	3 days
This commit is contained in:
Alexander Motin 2016-10-11 15:27:39 +00:00
parent 1ee17b070d
commit 7061250472
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=307042

View File

@ -228,7 +228,7 @@ cam_compat_handle_0x17(struct cdev *dev, u_long cmd, caddr_t addr, int flag,
cts = &ccb->cts;
cts17 = (struct ccb_trans_settings_0x17 *)hdr17;
cts17->type = cts17->type;
cts17->type = cts->type;
cts17->protocol = cts->protocol;
cts17->protocol_version = cts->protocol_version;
cts17->transport = cts->transport;
@ -335,7 +335,7 @@ cam_compat_handle_0x18(struct cdev *dev, u_long cmd, caddr_t addr, int flag,
cts = &ccb->cts;
cts18 = (struct ccb_trans_settings_0x18 *)hdr18;
cts18->type = cts18->type;
cts18->type = cts->type;
cts18->protocol = cts->protocol;
cts18->protocol_version = cts->protocol_version;
cts18->transport = cts->transport;