Fix last "fix" - I had introduced a fencepost error.. :-(

Happily pointed out by: julian :-)
This commit is contained in:
Peter Wemm 1996-01-02 09:20:29 +00:00
parent 638c3d07b7
commit 5c7acd6044
2 changed files with 4 additions and 4 deletions

View File

@ -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 @@ siattach(id)
#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(

View File

@ -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 @@ siattach(id)
#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(