summaryrefslogtreecommitdiffstats
path: root/sys/dev/mly
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2001-07-26 02:20:47 +0000
committermsmith <msmith@FreeBSD.org>2001-07-26 02:20:47 +0000
commitcaf5c05b79711b1b2d2f2cae3b997a9e2b7dad5b (patch)
tree1284f9f847a86829f73c01d3faba7bc669c2ab03 /sys/dev/mly
parent533d27a1b748fb16d0184b3f84e4c455e5c0eca0 (diff)
downloadFreeBSD-src-caf5c05b79711b1b2d2f2cae3b997a9e2b7dad5b.zip
FreeBSD-src-caf5c05b79711b1b2d2f2cae3b997a9e2b7dad5b.tar.gz
Fix typo (* -> &)
Submitted by: Andrew Doran <ad@netbsd.org>
Diffstat (limited to 'sys/dev/mly')
-rw-r--r--sys/dev/mly/mly.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mly/mly.c b/sys/dev/mly/mly.c
index 4381f68..78e41e3 100644
--- a/sys/dev/mly/mly.c
+++ b/sys/dev/mly/mly.c
@@ -2243,7 +2243,7 @@ mly_cam_action_io(struct cam_sim *sim, struct ccb_scsiio *csio)
/* build the packet for the controller */
ss = &mc->mc_packet->scsi_small;
ss->opcode = MDACMD_SCSI;
- if (csio->ccb_h.flags * CAM_DIS_DISCONNECT)
+ if (csio->ccb_h.flags & CAM_DIS_DISCONNECT)
ss->command_control.disable_disconnect = 1;
if ((csio->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_OUT)
ss->command_control.data_direction = MLY_CCB_WRITE;
OpenPOWER on IntegriCloud