summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-12-23 21:46:57 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-12-23 21:46:57 +0000
commit9f9b522b4acc3be36581258fb278fcbf51b1c87a (patch)
tree37c289b07ef7e254e083b66a30648f98439388d8 /sys
parente9ef699cb9c786d6f4bab43d0342202be888febe (diff)
Fix crash due to wrong argument in the (almost useless) DECRQUPSS escape
sequence. From NetBSD (1.13)
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/wscons/wsemul_vt100_subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/wscons/wsemul_vt100_subr.c b/sys/dev/wscons/wsemul_vt100_subr.c
index 778c2d02f5f..b0fab8f1735 100644
--- a/sys/dev/wscons/wsemul_vt100_subr.c
+++ b/sys/dev/wscons/wsemul_vt100_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsemul_vt100_subr.c,v 1.11 2004/04/02 04:39:51 deraadt Exp $ */
+/* $OpenBSD: wsemul_vt100_subr.c,v 1.12 2004/12/23 21:46:56 miod Exp $ */
/* $NetBSD: wsemul_vt100_subr.c,v 1.7 2000/04/28 21:56:16 mycroft Exp $ */
/*
@@ -387,7 +387,7 @@ wsemul_vt100_handle_csi(edp, 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 */