From f9773705b12930921f547bfb04da5a17237efeb4 Mon Sep 17 00:00:00 2001 From: drochner Date: Wed, 2 Apr 2003 17:48:59 +0000 Subject: [PATCH] fix crash due to wrong argument in the (almost useless) DECRQUPSS escape sequence --- sys/dev/wscons/wsemul_vt100_subr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/wscons/wsemul_vt100_subr.c b/sys/dev/wscons/wsemul_vt100_subr.c index d3ec1b2dba79..7adc3a781a6e 100644 --- a/sys/dev/wscons/wsemul_vt100_subr.c +++ b/sys/dev/wscons/wsemul_vt100_subr.c @@ -1,4 +1,4 @@ -/* $NetBSD: wsemul_vt100_subr.c,v 1.12 2003/01/20 05:30:10 simonb Exp $ */ +/* $NetBSD: wsemul_vt100_subr.c,v 1.13 2003/04/02 17:48:59 drochner Exp $ */ /* * Copyright (c) 1998 @@ -33,7 +33,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: wsemul_vt100_subr.c,v 1.12 2003/01/20 05:30:10 simonb Exp $"); +__KERNEL_RCSID(0, "$NetBSD: wsemul_vt100_subr.c,v 1.13 2003/04/02 17:48:59 drochner Exp $"); #include #include @@ -384,7 +384,7 @@ wsemul_vt100_handle_csi(struct wsemul_vt100_emuldata *edp, u_char c) case A2('&', 'u'): /* DECRQUPSS request user preferred supplemental set */ - wsdisplay_emulinput(edp->emulcookie, "\033P0!u%5\033\\", 9); + wsdisplay_emulinput(edp->cbcookie, "\033P0!u%5\033\\", 9); break; case '@': /* ICH insert character VT300 only */