From 252cbc497372b95563c8da2a5f384597fa6264c1 Mon Sep 17 00:00:00 2001 From: rwatson Date: Sat, 28 Jan 2006 23:31:19 +0000 Subject: Rename use_old_pty variable to use_pts, as this more accurately reflects the sense of the variable. Suggested by: dwhite --- sys/kern/tty_pts.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'sys/kern') diff --git a/sys/kern/tty_pts.c b/sys/kern/tty_pts.c index a91282d..5a2f31a 100644 --- a/sys/kern/tty_pts.c +++ b/sys/kern/tty_pts.c @@ -158,21 +158,20 @@ static LIST_HEAD(,pt_desc) pt_free_list; static unsigned int next_avail_nb; -static int use_old_pty = 0; +static int use_pts = 0; static unsigned int max_pts = 1000; static unsigned int nb_allocated; -TUNABLE_INT("kern.pts.enable", &use_old_pty); +TUNABLE_INT("kern.pts.enable", &use_pts); SYSCTL_NODE(_kern, OID_AUTO, pts, CTLFLAG_RD, 0, "pts"); -SYSCTL_INT(_kern_pts, OID_AUTO, enable, CTLFLAG_RW, &use_old_pty, 0, +SYSCTL_INT(_kern_pts, OID_AUTO, enable, CTLFLAG_RW, &use_pts, 0, "enable pts"); -SYSCTL_INT(_kern_pts, OID_AUTO, max, CTLFLAG_RW, &max_pts, 0, - "max pts"); +SYSCTL_INT(_kern_pts, OID_AUTO, max, CTLFLAG_RW, &max_pts, 0, "max pts"); /* * If there's a free pty descriptor in the pty descriptor list, retrieve it. -- cgit v1.1