diff options
| author | Matthew Dillon <dillon@FreeBSD.org> | 1999-01-29 06:30:54 +0000 |
|---|---|---|
| committer | Matthew Dillon <dillon@FreeBSD.org> | 1999-01-29 06:30:54 +0000 |
| commit | 92a84dca9efc63c53bdb837c008e3b4e367e1ee4 (patch) | |
| tree | cb7935331a109e7d4d2bd613c55c3c906a8f2ca0 /sys | |
| parent | f371fa279e3c527c81c52794876fd1515c776618 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/miscfs/devfs/devfs_vnops.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/miscfs/devfs/devfs_vnops.c b/sys/miscfs/devfs/devfs_vnops.c index e9bdc2a36c72..d9f74982adb2 100644 --- a/sys/miscfs/devfs/devfs_vnops.c +++ b/sys/miscfs/devfs/devfs_vnops.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: devfs_vnops.c,v 1.64 1998/12/15 23:46:59 eivind Exp $ + * $Id: devfs_vnops.c,v 1.65 1999/01/12 11:49:29 eivind Exp $ */ @@ -1717,8 +1717,13 @@ devfs_strategy(struct vop_strategy_args *ap) switch (ap->a_vp->v_type) { case VCHR: (*dnp->by.Cdev.cdevsw->d_strategy)(bp); + break; case VBLK: (*dnp->by.Bdev.bdevsw->d_strategy)(bp); + break; + default: + /* XXX set error code? */ + break; } return (0); } |
