From owner-svn-src-user@FreeBSD.ORG Fri Oct 11 14:23:55 2013 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 71F8F5BB; Fri, 11 Oct 2013 14:23:55 +0000 (UTC) (envelope-from ray@FreeBSD.org) 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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5F21D28E8; Fri, 11 Oct 2013 14:23:55 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9BENto0007065; Fri, 11 Oct 2013 14:23:55 GMT (envelope-from ray@svn.freebsd.org) Received: (from ray@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9BENtXw007064; Fri, 11 Oct 2013 14:23:55 GMT (envelope-from ray@svn.freebsd.org) Message-Id: <201310111423.r9BENtXw007064@svn.freebsd.org> From: Aleksandr Rybalko Date: Fri, 11 Oct 2013 14:23:55 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r256315 - user/ed/newcons/sys/arm/freescale/imx X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Oct 2013 14:23:55 -0000 Author: ray Date: Fri Oct 11 14:23:54 2013 New Revision: 256315 URL: http://svnweb.freebsd.org/changeset/base/256315 Log: Even one char important. Add '&' to its place. Modified: user/ed/newcons/sys/arm/freescale/imx/imx51_ipuv3_newcons.c Modified: user/ed/newcons/sys/arm/freescale/imx/imx51_ipuv3_newcons.c ============================================================================== --- user/ed/newcons/sys/arm/freescale/imx/imx51_ipuv3_newcons.c Fri Oct 11 13:07:31 2013 (r256314) +++ user/ed/newcons/sys/arm/freescale/imx/imx51_ipuv3_newcons.c Fri Oct 11 14:23:54 2013 (r256315) @@ -426,7 +426,7 @@ vt_imx_blank(struct vt_device *vd, term_ case 2: /* XXX must be 16bits colormap */ for (ofs = 0; ofs < (sc->sc_stride * sc->sc_height); ofs++) - *(uint16_t *)(sc->sc_vaddr + 2 * ofs) = c 0xffff; + *(uint16_t *)(sc->sc_vaddr + 2 * ofs) = c & 0xffff; break; case 3: /* */ /* line 0 */