Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/wscons WSDISPLAYIO_SFONT: Do not attempt to print to...



details:   https://anonhg.NetBSD.org/src/rev/1d63cca03530
branches:  trunk
changeset: 445871:1d63cca03530
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Thu Nov 15 13:50:51 2018 +0000

description:
WSDISPLAYIO_SFONT: Do not attempt to print to the console in the middle of
resizing when DEBUG is defined.

diffstat:

 sys/dev/wscons/wsdisplay.c |  9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diffs (30 lines):

diff -r 1e29784049a7 -r 1d63cca03530 sys/dev/wscons/wsdisplay.c
--- a/sys/dev/wscons/wsdisplay.c        Thu Nov 15 11:20:59 2018 +0000
+++ b/sys/dev/wscons/wsdisplay.c        Thu Nov 15 13:50:51 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wsdisplay.c,v 1.147 2018/09/26 09:04:12 bouyer Exp $ */
+/* $NetBSD: wsdisplay.c,v 1.148 2018/11/15 13:50:51 jmcneill Exp $ */
 
 /*
  * Copyright (c) 1996, 1997 Christopher G. Demetriou.  All rights reserved.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wsdisplay.c,v 1.147 2018/09/26 09:04:12 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wsdisplay.c,v 1.148 2018/11/15 13:50:51 jmcneill Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_wsdisplay_compat.h"
@@ -1389,11 +1389,6 @@
                if (!error && WSSCREEN_HAS_EMULATOR(scr)) {
                        (*scr->scr_dconf->wsemul->reset)
                                (scr->scr_dconf->wsemulcookie, WSEMUL_SYNCFONT);
-#ifdef DEBUG
-                       printf("resize: %d %d\n",
-                           scr->scr_dconf->scrdata->nrows,
-                           scr->scr_dconf->scrdata->ncols); 
-#endif
                        if (scr->scr_dconf->wsemul->resize) {
                                (*scr->scr_dconf->wsemul->resize)
                                        (scr->scr_dconf->wsemulcookie,



Home | Main Index | Thread Index | Old Index