Module Name: src
Committed By: jmcneill
Date: Thu Nov 15 13:50:51 UTC 2018
Modified Files:
src/sys/dev/wscons: wsdisplay.c
Log Message:
WSDISPLAYIO_SFONT: Do not attempt to print to the console in the middle of
resizing when DEBUG is defined.
To generate a diff of this commit:
cvs rdiff -u -r1.147 -r1.148 src/sys/dev/wscons/wsdisplay.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/wscons/wsdisplay.c
diff -u src/sys/dev/wscons/wsdisplay.c:1.147 src/sys/dev/wscons/wsdisplay.c:1.148
--- src/sys/dev/wscons/wsdisplay.c:1.147 Wed Sep 26 09:04:12 2018
+++ src/sys/dev/wscons/wsdisplay.c Thu Nov 15 13:50:51 2018
@@ -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 @@ wsdisplay_internal_ioctl(struct wsdispla
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,