summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty_pty.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-02-25 06:19:15 +0000
committerbde <bde@FreeBSD.org>1998-02-25 06:19:15 +0000
commitdf1db50d545736650226e73a1f167e365c4dad3a (patch)
treebad8ef3782f0e0d1b1dfe1a9dc7dd8927aaf4ce0 /sys/kern/tty_pty.c
parent6c18b551402f8f7bdd45cecb7fea229f04d1e244 (diff)
downloadFreeBSD-src-df1db50d545736650226e73a1f167e365c4dad3a.zip
FreeBSD-src-df1db50d545736650226e73a1f167e365c4dad3a.tar.gz
Don't depend on "implicit int" or bloat the data section in the
declaration of ptc_devsw_installed. Fixed a spelling error.
Diffstat (limited to 'sys/kern/tty_pty.c')
-rw-r--r--sys/kern/tty_pty.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/tty_pty.c b/sys/kern/tty_pty.c
index 78e24da..c9c24e3 100644
--- a/sys/kern/tty_pty.c
+++ b/sys/kern/tty_pty.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)tty_pty.c 8.4 (Berkeley) 2/20/95
- * $Id: tty_pty.c,v 1.49 1997/12/16 17:40:28 eivind Exp $
+ * $Id: tty_pty.c,v 1.50 1998/01/24 02:54:35 eivind Exp $
*/
/*
@@ -676,7 +676,7 @@ ptyioctl(dev, cmd, data, flag, p)
case TIOCGPGRP:
/*
- * We aviod calling ttioctl on the controller since,
+ * We avoid calling ttioctl on the controller since,
* in that case, tp must be the controlling terminal.
*/
*(int *)data = tp->t_pgrp ? tp->t_pgrp->pg_id : 0;
@@ -790,7 +790,7 @@ ptyioctl(dev, cmd, data, flag, p)
return (error);
}
-static ptc_devsw_installed = 0;
+static int ptc_devsw_installed;
static void ptc_drvinit __P((void *unused));
static void
OpenPOWER on IntegriCloud