Date: Fri, 19 Sep 2014 11:15:30 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r271869 - head/sys/cam/ctl Message-ID: <201409191115.s8JBFUPx061414@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Fri Sep 19 11:15:30 2014 New Revision: 271869 URL: http://svnweb.freebsd.org/changeset/base/271869 Log: Fix inverted expression to report block size in mode page block descriptor. Modified: head/sys/cam/ctl/ctl.c Modified: head/sys/cam/ctl/ctl.c ============================================================================== --- head/sys/cam/ctl/ctl.c Fri Sep 19 11:02:44 2014 (r271868) +++ head/sys/cam/ctl/ctl.c Fri Sep 19 11:15:30 2014 (r271869) @@ -7074,7 +7074,7 @@ ctl_mode_sense(struct ctl_scsiio *ctsio) * descriptor. Otherwise, just set it to 0. */ if (dbd == 0) { - if (control_dev != 0) + if (control_dev == 0) scsi_ulto3b(lun->be_lun->blocksize, block_desc->block_len); else
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409191115.s8JBFUPx061414>