Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2012 03:54:11 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r236285 - head/sbin/camcontrol
Message-ID:  <201205300354.q4U3sBiH024156@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Wed May 30 03:54:10 2012
New Revision: 236285
URL: http://svn.freebsd.org/changeset/base/236285

Log:
  Add missing flag enable when certain arguments are parsed
  
  PR:		bin/163053
  Submitted by:	Peter <pmc@citylink.dinoex.sub.org>
  Approved by:	cperciva
  MFC after:	1 week

Modified:
  head/sbin/camcontrol/camcontrol.c

Modified: head/sbin/camcontrol/camcontrol.c
==============================================================================
--- head/sbin/camcontrol/camcontrol.c	Wed May 30 03:51:46 2012	(r236284)
+++ head/sbin/camcontrol/camcontrol.c	Wed May 30 03:54:10 2012	(r236285)
@@ -3404,6 +3404,7 @@ ratecontrol(struct cam_device *device, i
 				spi->flags &= ~CTS_SPI_FLAGS_DISC_ENB;
 			else
 				spi->flags |= CTS_SPI_FLAGS_DISC_ENB;
+			didsettings++;
 		}
 		if (scsi && tag_enable != -1) {
 			if ((cpi.hba_inquiry & PI_TAG_ABLE) == 0) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205300354.q4U3sBiH024156>