1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-20 02:38:43 +00:00

Missed a reference to numvnd.

Thanks Ollivier.
This commit is contained in:
Poul-Henning Kamp 1995-03-02 01:04:38 +00:00
parent 2270889953
commit ac9dbeaf66
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=6819

View File

@ -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) {