svn commit: r236660 - stable/9/sbin/camcontrol

Eitan Adler eadler at FreeBSD.org
Wed Jun 6 06:35:10 UTC 2012


Author: eadler
Date: Wed Jun  6 06:35:09 2012
New Revision: 236660
URL: http://svn.freebsd.org/changeset/base/236660

Log:
  MFC r236285:
  	Add missing flag enable when certain arguments are parsed
  
  PR:		bin/163053
  Approved by:	cperciva (implicit)

Modified:
  stable/9/sbin/camcontrol/camcontrol.c
Directory Properties:
  stable/9/sbin/camcontrol/   (props changed)

Modified: stable/9/sbin/camcontrol/camcontrol.c
==============================================================================
--- stable/9/sbin/camcontrol/camcontrol.c	Wed Jun  6 06:32:50 2012	(r236659)
+++ stable/9/sbin/camcontrol/camcontrol.c	Wed Jun  6 06:35:09 2012	(r236660)
@@ -3385,6 +3385,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) {


More information about the svn-src-stable-9 mailing list