diff options
author | peter <peter@FreeBSD.org> | 1996-01-02 09:20:29 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-01-02 09:20:29 +0000 |
commit | 88201ac426bac9d14bb68bb46cc0651a1f4535fd (patch) | |
tree | 8b7c1fe176713ecf370c535e8ec77fef254db816 /sys | |
parent | 2b027d22dec476b9976e2552e788778dab3268e1 (diff) | |
download | FreeBSD-src-88201ac426bac9d14bb68bb46cc0651a1f4535fd.zip FreeBSD-src-88201ac426bac9d14bb68bb46cc0651a1f4535fd.tar.gz |
Fix last "fix" - I had introduced a fencepost error.. :-(
Happily pointed out by: julian :-)
Diffstat (limited to 'sys')
-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 90e7fdf..a39d161 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.30 1995/12/16 14:03:02 peter Exp $ + * $Id: si.c,v 1.31 1996/01/02 09:18:07 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 < 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 90e7fdf..a39d161 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.30 1995/12/16 14:03:02 peter Exp $ + * $Id: si.c,v 1.31 1996/01/02 09:18:07 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 < 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( |