summaryrefslogtreecommitdiffstats
path: root/sys/dev/si
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-01-02 09:20:29 +0000
committerpeter <peter@FreeBSD.org>1996-01-02 09:20:29 +0000
commit88201ac426bac9d14bb68bb46cc0651a1f4535fd (patch)
tree8b7c1fe176713ecf370c535e8ec77fef254db816 /sys/dev/si
parent2b027d22dec476b9976e2552e788778dab3268e1 (diff)
downloadFreeBSD-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/dev/si')
-rw-r--r--sys/dev/si/si.c4
1 files changed, 2 insertions, 2 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(
OpenPOWER on IntegriCloud