diff options
author | peter <peter@FreeBSD.org> | 1996-06-30 04:56:05 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-06-30 04:56:05 +0000 |
commit | 792c06a513b86324be50df3afd24b70841702bcf (patch) | |
tree | 6ab0b7216f794571aaae93d4b002636322150934 /sys | |
parent | ea00d7543c0aea46b532b69500e6ed4f3b01a5a2 (diff) | |
download | FreeBSD-src-792c06a513b86324be50df3afd24b70841702bcf.zip FreeBSD-src-792c06a513b86324be50df3afd24b70841702bcf.tar.gz |
Fix typo that prevented the initial/lock state devices from working
correctly (accessing the lock device was not possible).
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 100329e..71dcd53 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.45 1996/06/17 18:52:53 peter Exp $ + * $Id: si.c,v 1.46 1996/06/21 21:35:01 peter Exp $ */ #ifndef lint @@ -1120,7 +1120,7 @@ siioctl(dev, cmd, data, flag, p) ct = IS_CALLOUT(mynor) ? &pp->sp_iout : &pp->sp_iin; break; case SI_LOCK_STATE_MASK: - ct = IS_CALLOUT(mynor) ? &pp->sp_iout : &pp->sp_iin; + ct = IS_CALLOUT(mynor) ? &pp->sp_lout : &pp->sp_lin; break; default: return (ENODEV); diff --git a/sys/i386/isa/si.c b/sys/i386/isa/si.c index 100329e..71dcd53 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.45 1996/06/17 18:52:53 peter Exp $ + * $Id: si.c,v 1.46 1996/06/21 21:35:01 peter Exp $ */ #ifndef lint @@ -1120,7 +1120,7 @@ siioctl(dev, cmd, data, flag, p) ct = IS_CALLOUT(mynor) ? &pp->sp_iout : &pp->sp_iin; break; case SI_LOCK_STATE_MASK: - ct = IS_CALLOUT(mynor) ? &pp->sp_iout : &pp->sp_iin; + ct = IS_CALLOUT(mynor) ? &pp->sp_lout : &pp->sp_lin; break; default: return (ENODEV); |