summaryrefslogtreecommitdiffstats
path: root/sys/dev/si
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-06-30 04:56:05 +0000
committerpeter <peter@FreeBSD.org>1996-06-30 04:56:05 +0000
commit792c06a513b86324be50df3afd24b70841702bcf (patch)
tree6ab0b7216f794571aaae93d4b002636322150934 /sys/dev/si
parentea00d7543c0aea46b532b69500e6ed4f3b01a5a2 (diff)
downloadFreeBSD-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/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 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);
OpenPOWER on IntegriCloud