summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1998-08-31 08:00:46 +0000
committerderaadt <deraadt@openbsd.org>1998-08-31 08:00:46 +0000
commitbc83ebbcc82d07ff9b131372c27f5fc98422814e (patch)
treeb056a9806536e64b525a093cf6c26ab98714933b
parentglue in xfs (diff)
downloadwireguard-openbsd-bc83ebbcc82d07ff9b131372c27f5fc98422814e.tar.xz
wireguard-openbsd-bc83ebbcc82d07ff9b131372c27f5fc98422814e.zip
s/CKILL/VKILL/, a todd miller bug special apparently
-rw-r--r--usr.bin/talk/init_disp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/talk/init_disp.c b/usr.bin/talk/init_disp.c
index c14ee00edda..b3f4890644b 100644
--- a/usr.bin/talk/init_disp.c
+++ b/usr.bin/talk/init_disp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init_disp.c,v 1.5 1998/08/18 04:02:14 millert Exp $ */
+/* $OpenBSD: init_disp.c,v 1.6 1998/08/31 08:00:46 deraadt Exp $ */
/* $NetBSD: init_disp.c,v 1.6 1994/12/09 02:14:17 jtc Exp $ */
/*
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)init_disp.c 8.2 (Berkeley) 2/16/94";
#endif
-static char rcsid[] = "$OpenBSD: init_disp.c,v 1.5 1998/08/18 04:02:14 millert Exp $";
+static char rcsid[] = "$OpenBSD: init_disp.c,v 1.6 1998/08/31 08:00:46 deraadt Exp $";
#endif /* not lint */
/*
@@ -108,7 +108,7 @@ init_display()
void
set_edit_chars()
{
- char buf[3];
+ u_char buf[3];
int cc;
struct termios tty;
@@ -116,7 +116,7 @@ set_edit_chars()
buf[0] = my_win.cerase = tty.c_cc[VERASE] == (u_char)_POSIX_VDISABLE
? CERASE : tty.c_cc[VERASE];
buf[1] = my_win.kill = tty.c_cc[VKILL] == (u_char)_POSIX_VDISABLE
- ? CKILL : tty.c_cc[CKILL];
+ ? CKILL : tty.c_cc[VKILL];
buf[2] = my_win.werase = tty.c_cc[VWERASE] == (u_char)_POSIX_VDISABLE
? CWERASE : tty.c_cc[VWERASE];
cc = write(sockt, buf, sizeof(buf));