summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/getvfsent.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-03-03 05:53:54 +0000
committerbde <bde@FreeBSD.org>1997-03-03 05:53:54 +0000
commitd2d0d9bc8bdad6415fae600b8a7dffb26331a6d1 (patch)
tree5779d7de2f7f3b967bfa1eafe9c3e502f5660c9d /lib/libc/gen/getvfsent.c
parent1736bc201c45232e1ae9a1d7a4b44663e5a6f879 (diff)
downloadFreeBSD-src-d2d0d9bc8bdad6415fae600b8a7dffb26331a6d1.zip
FreeBSD-src-d2d0d9bc8bdad6415fae600b8a7dffb26331a6d1.tar.gz
Changed vfc_typenum back to vfc_index. The old vfsconf struct is now
visible again, and the new vfsconf struct didn't match reality.
Diffstat (limited to 'lib/libc/gen/getvfsent.c')
-rw-r--r--lib/libc/gen/getvfsent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/getvfsent.c b/lib/libc/gen/getvfsent.c
index 4ba6bf2..c4ce2cc 100644
--- a/lib/libc/gen/getvfsent.c
+++ b/lib/libc/gen/getvfsent.c
@@ -115,7 +115,7 @@ getvfsbytype(int type)
}
for(i = 0; i < _vfslistlen; i++) {
- if(_vfslist[i].vfc_typenum == type)
+ if(_vfslist[i].vfc_index == type)
break;
}
OpenPOWER on IntegriCloud