diff options
author | phk <phk@FreeBSD.org> | 1995-03-02 01:04:38 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-03-02 01:04:38 +0000 |
commit | 206b955407327511e61c0f5b13e75fdffa31a9d4 (patch) | |
tree | 299c7424690fb629a192eb84420719a46b572225 /sys/dev/vn | |
parent | bcf65c80f5169d35e183cbf7989fa2666ca87a1e (diff) | |
download | FreeBSD-src-206b955407327511e61c0f5b13e75fdffa31a9d4.zip FreeBSD-src-206b955407327511e61c0f5b13e75fdffa31a9d4.tar.gz |
Missed a reference to numvnd.
Thanks Ollivier.
Diffstat (limited to 'sys/dev/vn')
-rw-r--r-- | sys/dev/vn/vn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/vn/vn.c b/sys/dev/vn/vn.c index 04f217b..2e74cc6 100644 --- a/sys/dev/vn/vn.c +++ b/sys/dev/vn/vn.c @@ -424,7 +424,7 @@ vnioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p) /* * XXX test is unnecessary? */ - if (unit >= numvnd) + if (unit >= NVN) return (ENXIO); vn = vn_softc[unit]; if (vn->sc_slices != NULL) { |