diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 1998-08-24 18:23:18 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1998-08-24 18:23:18 +0000 |
commit | 07fe032454ebe07db6dda89efbcbb84487b16f5a (patch) | |
tree | 48acad94899310e49d48e148dd9a35f2b6406211 /sys/miscfs/specfs | |
parent | 128a646cd138ceda9ff9025f3c6f4e49ebac7936 (diff) | |
download | src-07fe032454ebe07db6dda89efbcbb84487b16f5a.tar.gz src-07fe032454ebe07db6dda89efbcbb84487b16f5a.zip |
Last commit managed to get mangled somehow.
Notes
Notes:
svn path=/head/; revision=38529
Diffstat (limited to 'sys/miscfs/specfs')
-rw-r--r-- | sys/miscfs/specfs/spec_vnops.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/miscfs/specfs/spec_vnops.c b/sys/miscfs/specfs/spec_vnops.c index 18748e896ace..f71ca5c1ce46 100644 --- a/sys/miscfs/specfs/spec_vnops.c +++ b/sys/miscfs/specfs/spec_vnops.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)spec_vnops.c 8.14 (Berkeley) 5/21/95 - * $Id: spec_vnops.c,v 1.68 1998/08/23 11:43:29 bde Exp $ + * $Id: spec_vnops.c,v 1.69 1998/08/24 17:47:21 phk Exp $ */ #include <sys/param.h> @@ -417,9 +417,11 @@ spec_ioctl(ap) switch (ap->a_vp->v_type) { case VCHR: - case VBLK: return ((*cdevsw[major(dev)]->d_ioctl)(dev, ap->a_command, ap->a_data, ap->a_fflag, ap->a_p)); + case VBLK: + return ((*bdevsw[major(dev)]->d_ioctl)(dev, ap->a_command, + ap->a_data, ap->a_fflag, ap->a_p)); default: panic("spec_ioctl"); /* NOTREACHED */ |