mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-03 09:00:21 +00:00
A bit of PR7278 which belongs here.
PR: 7278 Reviewed by: phk Submitted by: Harlan.Stenn@pfcs.com
This commit is contained in:
parent
9294f850e8
commit
a623ec03f3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=37846
@ -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]))
|
||||
|
Loading…
Reference in New Issue
Block a user