Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 May 2013 13:40:01 GMT
From:      dfilter@FreeBSD.ORG (dfilter service)
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/119483: commit references a PR
Message-ID:  <201305111340.r4BDe1CF015884@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/119483; it has been noted by GNATS.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/119483: commit references a PR
Date: Sat, 11 May 2013 13:32:45 +0000 (UTC)

 Author: eadler
 Date: Sat May 11 13:32:38 2013
 New Revision: 250509
 URL: http://svnweb.freebsd.org/changeset/base/250509
 
 Log:
   The M_VESA_MODE_MAX is latest valid mode - not the first invalid.
   Permit its use in vidcontrol -i
   
   PR:		bin/119483
   Submitted by:	Dan Lukes <dan@obluda.cz>
   Arrival-Date:	Wed Jan 09 10:30:01 UTC 2008
   Reviewed by:	ed
   MFC after:	3 days
 
 Modified:
   head/usr.sbin/vidcontrol/vidcontrol.c
 
 Modified: head/usr.sbin/vidcontrol/vidcontrol.c
 ==============================================================================
 --- head/usr.sbin/vidcontrol/vidcontrol.c	Sat May 11 13:21:31 2013	(r250508)
 +++ head/usr.sbin/vidcontrol/vidcontrol.c	Sat May 11 13:32:38 2013	(r250509)
 @@ -959,7 +959,7 @@ show_mode_info(void)
  	printf("---------------------------------------"
  	       "---------------------------------------\n");
  
 -	for (mode = 0; mode < M_VESA_MODE_MAX; ++mode) {
 +	for (mode = 0; mode <= M_VESA_MODE_MAX; ++mode) {
  		_info.vi_mode = mode;
  		if (ioctl(0, CONS_MODEINFO, &_info))
  			continue;
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 



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