From df1db50d545736650226e73a1f167e365c4dad3a Mon Sep 17 00:00:00 2001 From: bde Date: Wed, 25 Feb 1998 06:19:15 +0000 Subject: Don't depend on "implicit int" or bloat the data section in the declaration of ptc_devsw_installed. Fixed a spelling error. --- sys/kern/tty_pty.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/kern/tty_pty.c') 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 -- cgit v1.1