summaryrefslogtreecommitdiff
path: root/sys/compat
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-04-05 20:30:19 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-04-05 20:30:19 +0000
commit8c3f79f1cee6c5ff8fdcd538fb2bbe2406221dfc (patch)
tree8b626a08bf43ae0295eb2919f235a1b57e0ca140 /sys/compat
parented5655d14b4021a7ecc70b552cc2ca958a8baca3 (diff)
Add missing 230400 to linux_speeds array to match linux_spmasks.
Also make linux_spmasks const, since it is. deraadt@ OK
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/linux/linux_termios.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/linux/linux_termios.c b/sys/compat/linux/linux_termios.c
index 7a8f4d40458..b65c1f956bb 100644
--- a/sys/compat/linux/linux_termios.c
+++ b/sys/compat/linux/linux_termios.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_termios.c,v 1.14 2002/05/07 20:31:17 jasoni Exp $ */
+/* $OpenBSD: linux_termios.c,v 1.15 2003/04/05 20:30:18 millert Exp $ */
/* $NetBSD: linux_termios.c,v 1.3 1996/04/05 00:01:54 christos Exp $ */
/*
@@ -52,10 +52,10 @@
static speed_t linux_speeds[] = {
0, 50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 4800,
- 9600, 19200, 38400, 57600, 115200
+ 9600, 19200, 38400, 57600, 115200, 230400
};
-static int linux_spmasks[] = {
+static const int linux_spmasks[] = {
LINUX_B0, LINUX_B50, LINUX_B75, LINUX_B110, LINUX_B134, LINUX_B150,
LINUX_B200, LINUX_B300, LINUX_B600, LINUX_B1200, LINUX_B1800,
LINUX_B2400, LINUX_B4800, LINUX_B9600, LINUX_B19200, LINUX_B38400,