summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-18 10:18:07 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-18 10:18:07 +0000
commita83962164b0afe5c5593e5bb745bb00978d0e943 (patch)
treee34d10abb45e818eeb4cb3582b91e30d60c0c272
parent8e1d74da473a053bb355006e2ff52f2c37226348 (diff)
from netbsd; Fix typos in SUSP and DSUSP mapping when setting Ultrix
posixmode tty attributes (was 112 and 113, should be 12 and 13).
-rw-r--r--sys/compat/ultrix/ultrix_ioctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/ultrix/ultrix_ioctl.c b/sys/compat/ultrix/ultrix_ioctl.c
index 29cae666642..79a616dad25 100644
--- a/sys/compat/ultrix/ultrix_ioctl.c
+++ b/sys/compat/ultrix/ultrix_ioctl.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ultrix_ioctl.c,v 1.3 1996/04/07 17:23:08 jonathan Exp $ */
+/* $NetBSD: ultrix_ioctl.c,v 1.3.4.1 1996/06/13 18:22:37 jonathan Exp $ */
/* from : NetBSD: sunos_ioctl.c,v 1.21 1995/10/07 06:27:31 mycroft Exp */
/*
@@ -236,8 +236,8 @@ stios2btios(st, bt)
/* bt->c_cc[VSWTCH] = EMUL_TO_NATIVE_CC(st->c_cc[7]); */
bt->c_cc[VSTART] = EMUL_TO_NATIVE_CC(st->c_cc[10]);
bt->c_cc[VSTOP] = EMUL_TO_NATIVE_CC(st->c_cc[11]);
- bt->c_cc[VSUSP] = EMUL_TO_NATIVE_CC(st->c_cc[112]);
- bt->c_cc[VDSUSP] = EMUL_TO_NATIVE_CC(st->c_cc[113]);
+ bt->c_cc[VSUSP] = EMUL_TO_NATIVE_CC(st->c_cc[12]);
+ bt->c_cc[VDSUSP] = EMUL_TO_NATIVE_CC(st->c_cc[13]);
bt->c_cc[VREPRINT] = EMUL_TO_NATIVE_CC(st->c_cc[14]);
bt->c_cc[VDISCARD] = EMUL_TO_NATIVE_CC(st->c_cc[15]);
bt->c_cc[VWERASE] = EMUL_TO_NATIVE_CC(st->c_cc[16]);