summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-02 12:10:04 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-02 12:10:04 +0000
commit075012bcdff50f025a4de9e4d4ef5b6eed90f429 (patch)
tree4aa6d8b6aaaede8d624c5fdd873fb10e9f393dfc /bin
parentdc80a7e74ea480341139136911118536ab501546 (diff)
search table 2
Diffstat (limited to 'bin')
-rw-r--r--bin/stty/cchar.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/stty/cchar.c b/bin/stty/cchar.c
index ac4b40fe336..dc4075b7af9 100644
--- a/bin/stty/cchar.c
+++ b/bin/stty/cchar.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cchar.c,v 1.4 1996/08/02 12:09:45 deraadt Exp $ */
+/* $OpenBSD: cchar.c,v 1.5 1996/08/02 12:10:03 deraadt Exp $ */
/* $NetBSD: cchar.c,v 1.10 1996/05/07 18:20:05 jtc Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)cchar.c 8.5 (Berkeley) 4/2/94";
#else
-static char rcsid[] = "$OpenBSD: cchar.c,v 1.4 1996/08/02 12:09:45 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: cchar.c,v 1.5 1996/08/02 12:10:03 deraadt Exp $";
#endif
#endif /* not lint */
@@ -110,8 +110,8 @@ csearch(argvp, ip)
tmp.name = name;
if (!(cp = (struct cchar *)bsearch(&tmp, cchars1,
sizeof(cchars1)/sizeof(struct cchar) - 1, sizeof(struct cchar),
- c_cchar)) && !(cp = (struct cchar *)bsearch(&tmp, cchars1,
- sizeof(cchars1)/sizeof(struct cchar) - 1, sizeof(struct cchar),
+ c_cchar)) && !(cp = (struct cchar *)bsearch(&tmp, cchars2,
+ sizeof(cchars2)/sizeof(struct cchar) - 1, sizeof(struct cchar),
c_cchar)))
return (0);