Author: mav
Date: Tue Oct 11 15:27:39 2016
New Revision: 307042
URL: https://svnweb.freebsd.org/changeset/base/307042

Log:
  Fix copy/paste bug in r306747.
  
  Submitted by: emaste, pfg
  MFC after:    3 days

Modified:
  head/sys/cam/cam_compat.c

Modified: head/sys/cam/cam_compat.c
==============================================================================
--- head/sys/cam/cam_compat.c   Tue Oct 11 14:08:53 2016        (r307041)
+++ head/sys/cam/cam_compat.c   Tue Oct 11 15:27:39 2016        (r307042)
@@ -228,7 +228,7 @@ cam_compat_handle_0x17(struct cdev *dev,
 
                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,
 
                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;
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to