svn commit: r201761 - user/ed/utmpx/sys/kern
Ed Schouten
ed at FreeBSD.org
Thu Jan 7 22:59:08 UTC 2010
Author: ed
Date: Thu Jan 7 22:59:08 2010
New Revision: 201761
URL: http://svn.freebsd.org/changeset/base/201761
Log:
Remove the pts(4) device limit now that utmpx supports more.
Modified:
user/ed/utmpx/sys/kern/tty_pts.c
Modified: user/ed/utmpx/sys/kern/tty_pts.c
==============================================================================
--- user/ed/utmpx/sys/kern/tty_pts.c Thu Jan 7 21:14:46 2010 (r201760)
+++ user/ed/utmpx/sys/kern/tty_pts.c Thu Jan 7 22:59:08 2010 (r201761)
@@ -71,7 +71,7 @@ __FBSDID("$FreeBSD$");
* UT_LINESIZE.
*/
static struct unrhdr *pts_pool;
-static unsigned int pts_maxdev = 999;
+static unsigned int pts_maxdev = INT_MAX;
SYSCTL_UINT(_kern, OID_AUTO, pts_maxdev, CTLFLAG_RW, &pts_maxdev, 0,
"Maximum amount of pts(4) pseudo-terminals");
More information about the svn-src-user
mailing list