diff options
-rw-r--r-- | sys/dev/si/si.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/si.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/si/si.c b/sys/dev/si/si.c index a39d161..48d8e11 100644 --- a/sys/dev/si/si.c +++ b/sys/dev/si/si.c @@ -30,7 +30,7 @@ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN * NO EVENT SHALL THE AUTHORS BE LIABLE. * - * $Id: si.c,v 1.31 1996/01/02 09:18:07 peter Exp $ + * $Id: si.c,v 1.32 1996/01/02 09:20:29 peter Exp $ */ #ifndef lint @@ -699,7 +699,7 @@ mem_fail: #ifdef DEVFS /* path name devsw minor type uid gid perm*/ - for ( x = 0; x < nport; x++ ) { + for ( x = 0; x < sc->sc_nport; x++ ) { y = x + 1; /* For sync with the manuals that start at 1 */ sprintf(name,"ttyA%c%c", chardev[y / 10], chardev[y % 10]); sc->devfs_token[x].ttyd = devfs_add_devsw( diff --git a/sys/i386/isa/si.c b/sys/i386/isa/si.c index a39d161..48d8e11 100644 --- a/sys/i386/isa/si.c +++ b/sys/i386/isa/si.c @@ -30,7 +30,7 @@ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN * NO EVENT SHALL THE AUTHORS BE LIABLE. * - * $Id: si.c,v 1.31 1996/01/02 09:18:07 peter Exp $ + * $Id: si.c,v 1.32 1996/01/02 09:20:29 peter Exp $ */ #ifndef lint @@ -699,7 +699,7 @@ mem_fail: #ifdef DEVFS /* path name devsw minor type uid gid perm*/ - for ( x = 0; x < nport; x++ ) { + for ( x = 0; x < sc->sc_nport; x++ ) { y = x + 1; /* For sync with the manuals that start at 1 */ sprintf(name,"ttyA%c%c", chardev[y / 10], chardev[y % 10]); sc->devfs_token[x].ttyd = devfs_add_devsw( |