diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-08-18 02:54:24 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-08-18 02:54:24 +0000 |
commit | ab6c05829cb449b7f110458687c81876988002c0 (patch) | |
tree | 223f16fefa2d8d67b58288818d5a2364c68c729a /usr.bin | |
parent | 9bd45bb6bc19f07504127c095fe078f8ae1477cb (diff) |
kill bogus cast to struct sgttyb *
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/talk/io.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/talk/io.c b/usr.bin/talk/io.c index 8438b80e98a..fd5aa8a80eb 100644 --- a/usr.bin/talk/io.c +++ b/usr.bin/talk/io.c @@ -1,4 +1,4 @@ -/* $OpenBSD: io.c,v 1.5 1998/04/28 22:13:28 pjanzen Exp $ */ +/* $OpenBSD: io.c,v 1.6 1998/08/18 02:54:23 millert Exp $ */ /* $NetBSD: io.c,v 1.4 1994/12/09 02:14:20 jtc Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)io.c 8.1 (Berkeley) 6/6/93"; #endif -static char rcsid[] = "$OpenBSD: io.c,v 1.5 1998/04/28 22:13:28 pjanzen Exp $"; +static char rcsid[] = "$OpenBSD: io.c,v 1.6 1998/08/18 02:54:23 millert Exp $"; #endif /* not lint */ /* @@ -116,7 +116,7 @@ talk() * We can't make the tty non_blocking, because * curses's output routines would screw up */ - ioctl(0, FIONREAD, (struct sgttyb *) &nb); + ioctl(0, FIONREAD, &nb); nb = read(0, buf, nb); display(&my_win, buf, nb); /* might lose data here because sockt is non-blocking */ |