A bit of PR7278 which belongs here.

PR:		7278
Reviewed by:	phk
Submitted by:	Harlan.Stenn@pfcs.com
This commit is contained in:
Poul-Henning Kamp 1998-07-22 20:34:24 +00:00
parent 9294f850e8
commit a623ec03f3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=37846

View File

@ -36,7 +36,7 @@
static char sccsid[] = "@(#)ttymsg.c 8.2 (Berkeley) 11/16/93";
#endif
static const char rcsid[] =
"$Id$";
"$Id: ttymsg.c,v 1.2 1998/03/23 07:47:31 charnier Exp $";
#endif /* not lint */
#include <sys/types.h>
@ -68,7 +68,7 @@ ttymsg(iov, iovcnt, line, tmout)
static char device[MAXNAMLEN] = _PATH_DEV;
static char errbuf[1024];
register int cnt, fd, left, wret;
struct iovec localiov[6];
struct iovec localiov[7];
int forked = 0;
if (iovcnt > sizeof(localiov) / sizeof(localiov[0]))