From owner-svn-src-all@FreeBSD.ORG Thu Jul 17 12:47:34 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 94B9B91; Thu, 17 Jul 2014 12:47:34 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8144C22DF; Thu, 17 Jul 2014 12:47:34 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6HClYMd057935; Thu, 17 Jul 2014 12:47:34 GMT (envelope-from nwhitehorn@svn.freebsd.org) Received: (from nwhitehorn@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6HClY2U057934; Thu, 17 Jul 2014 12:47:34 GMT (envelope-from nwhitehorn@svn.freebsd.org) Message-Id: <201407171247.s6HClY2U057934@svn.freebsd.org> From: Nathan Whitehorn Date: Thu, 17 Jul 2014 12:47:34 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r268796 - head/sys/dev/vt/hw/fb X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2014 12:47:34 -0000 Author: nwhitehorn Date: Thu Jul 17 12:47:34 2014 New Revision: 268796 URL: http://svnweb.freebsd.org/changeset/base/268796 Log: Fix embarassing typos I made. Submitted by: rayddteam Modified: head/sys/dev/vt/hw/fb/vt_fb.c Modified: head/sys/dev/vt/hw/fb/vt_fb.c ============================================================================== --- head/sys/dev/vt/hw/fb/vt_fb.c Thu Jul 17 11:38:37 2014 (r268795) +++ head/sys/dev/vt/hw/fb/vt_fb.c Thu Jul 17 12:47:34 2014 (r268796) @@ -185,17 +185,17 @@ vt_fb_blank(struct vt_device *vd, term_c switch (FBTYPE_GET_BYTESPP(info)) { case 1: - for (h = 0; h < info->fb_stride; h++) + for (h = 0; h < info->fb_height; h++) for (o = 0; o < info->fb_stride; o++) info->wr1(info, h*info->fb_stride + o, c); break; case 2: - for (h = 0; h < info->fb_stride; h++) + for (h = 0; h < info->fb_height; h++) for (o = 0; o < info->fb_stride; o += 2) info->wr2(info, h*info->fb_stride + o, c); break; case 3: - for (h = 0; h < info->fb_stride; h++) + for (h = 0; h < info->fb_height; h++) for (o = 0; o < info->fb_stride; o += 3) { info->wr1(info, h*info->fb_stride + o, (c >> 16) & 0xff); @@ -206,9 +206,9 @@ vt_fb_blank(struct vt_device *vd, term_c } break; case 4: - for (h = 0; h < info->fb_stride; h++) + for (h = 0; h < info->fb_height; h++) for (o = 0; o < info->fb_stride; o += 4) - info->wr4(info, o, c); + info->wr4(info, h*info->fb_stride + o, c); break; default: /* panic? */