Kick DEFAULT_MAXPTYS from 256 to 992
This commit is contained in:
parent
1977a7b24e
commit
eeda20f137
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: tty_pty.c,v 1.57 2001/11/12 15:25:28 lukem Exp $ */
|
||||
/* $NetBSD: tty_pty.c,v 1.58 2002/02/02 07:18:55 tls Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1986, 1989, 1993
|
||||
|
@ -41,7 +41,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: tty_pty.c,v 1.57 2001/11/12 15:25:28 lukem Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: tty_pty.c,v 1.58 2002/02/02 07:18:55 tls Exp $");
|
||||
|
||||
#include "opt_compat_sunos.h"
|
||||
|
||||
|
@ -61,7 +61,7 @@ __KERNEL_RCSID(0, "$NetBSD: tty_pty.c,v 1.57 2001/11/12 15:25:28 lukem Exp $");
|
|||
#include <sys/malloc.h>
|
||||
|
||||
#define DEFAULT_NPTYS 16 /* default number of initial ptys */
|
||||
#define DEFAULT_MAXPTYS 256 /* default maximum number of ptys */
|
||||
#define DEFAULT_MAXPTYS 992 /* default maximum number of ptys */
|
||||
|
||||
/* Macros to clear/set/test flags. */
|
||||
#define SET(t, f) (t) |= (f)
|
||||
|
|
Loading…
Reference in New Issue