From ee0bc7c3997c6f385f3389fb7bceb954cd130973 Mon Sep 17 00:00:00 2001 From: Julian Elischer Date: Sat, 2 Dec 1995 13:08:20 +0000 Subject: [PATCH] I fixed this before than committed it on my machine and not on freefall. (window confusion) --- sys/kern/tty_pty.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/kern/tty_pty.c b/sys/kern/tty_pty.c index 884189bbec79..1f9e0d957daf 100644 --- a/sys/kern/tty_pty.c +++ b/sys/kern/tty_pty.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)tty_pty.c 8.2 (Berkeley) 9/23/93 - * $Id: tty_pty.c,v 1.26 1995/11/29 14:40:36 julian Exp $ + * $Id: tty_pty.c,v 1.27 1995/12/02 07:30:19 julian Exp $ */ /* @@ -756,9 +756,9 @@ static ptc_devsw_installed = 0; static void ptc_drvinit(void *unused) { #ifdef DEVFS - int i - char jnames[] = "pqrsPQRS" - char knames[] = "0123456789abcdefghijklmnopqrstuv" + int i,j,k; + char jnames[] = "pqrsPQRS"; + char knames[] = "0123456789abcdefghijklmnopqrstuv"; char devname[16]; #define MAXUNITS (8 * 32) #endif @@ -778,7 +778,7 @@ static void ptc_drvinit(void *unused) #define NPTY MAXUNITS #endif for ( i = 0 ; i