Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/wscons fix tpyo



details:   https://anonhg.NetBSD.org/src/rev/33850a2cac34
branches:  trunk
changeset: 958080:33850a2cac34
user:      macallan <macallan%NetBSD.org@localhost>
date:      Wed Dec 23 05:50:51 2020 +0000

description:
fix tpyo
spotted by RVP, thanks!

diffstat:

 sys/dev/wscons/wsdisplay_vcons.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 36aa01d272d0 -r 33850a2cac34 sys/dev/wscons/wsdisplay_vcons.c
--- a/sys/dev/wscons/wsdisplay_vcons.c  Wed Dec 23 04:09:32 2020 +0000
+++ b/sys/dev/wscons/wsdisplay_vcons.c  Wed Dec 23 05:50:51 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wsdisplay_vcons.c,v 1.42 2020/11/21 11:26:55 mlelstv Exp $ */
+/*     $NetBSD: wsdisplay_vcons.c,v 1.43 2020/12/23 05:50:51 macallan Exp $ */
 
 /*-
  * Copyright (c) 2005, 2006 Michael Lorenz
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wsdisplay_vcons.c,v 1.42 2020/11/21 11:26:55 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wsdisplay_vcons.c,v 1.43 2020/12/23 05:50:51 macallan Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1541,7 +1541,7 @@
        if (vd->cells == 0)
                return;
 
-       for (i = 0; i > vd->cells; i++) {
+       for (i = 0; i < vd->cells; i++) {
                vd->chars[i] = -1;
                vd->attrs[i] = -1;
        }



Home | Main Index | Thread Index | Old Index