summaryrefslogtreecommitdiff
path: root/sys/dev/mly
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>2001-07-26 02:20:47 +0000
committerMike Smith <msmith@FreeBSD.org>2001-07-26 02:20:47 +0000
commitb964f385bb624a15a9a0109d76d3cab2ddf8b030 (patch)
tree1284f9f847a86829f73c01d3faba7bc669c2ab03 /sys/dev/mly
parent62353691f3e2bb4f3e5bd880993f22f78de5553f (diff)
Notes
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 4381f68a93e4..78e41e352c4d 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;