diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-05-26 09:27:12 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-05-26 09:27:12 +0000 |
commit | 83a6c6911f8ace4bb28af6cf0f98e8a40cab9848 (patch) | |
tree | 7ddd86a1b5337950ae819cb9ddb24ee495862b1d /usr.bin/wall/ttymsg.c | |
parent | 6aa6edb00aa211e3677bbe83a79f77a698463a78 (diff) |
pid_t cleanup
Diffstat (limited to 'usr.bin/wall/ttymsg.c')
-rw-r--r-- | usr.bin/wall/ttymsg.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/wall/ttymsg.c b/usr.bin/wall/ttymsg.c index 859ad83907a..1fb6194eee4 100644 --- a/usr.bin/wall/ttymsg.c +++ b/usr.bin/wall/ttymsg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ttymsg.c,v 1.9 2001/11/19 19:02:17 mpech Exp $ */ +/* $OpenBSD: ttymsg.c,v 1.10 2002/05/26 09:27:11 deraadt Exp $ */ /* $NetBSD: ttymsg.c,v 1.3 1994/11/17 07:17:55 jtc Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static const char sccsid[] = "@(#)ttymsg.c 8.2 (Berkeley) 11/16/93"; #endif -static const char rcsid[] = "$OpenBSD: ttymsg.c,v 1.9 2001/11/19 19:02:17 mpech Exp $"; +static const char rcsid[] = "$OpenBSD: ttymsg.c,v 1.10 2002/05/26 09:27:11 deraadt Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -139,7 +139,8 @@ ttymsg(iov, iovcnt, line, tmout) continue; } if (errno == EWOULDBLOCK) { - int cpid, off = 0; + int off = 0; + pid_t cpid; if (forked) { (void) close(fd); |