From 0df382bd0f43521ed87654cb519f5fa7383f783b Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Mon, 3 Mar 1997 05:53:54 +0000 Subject: [PATCH] Changed vfc_typenum back to vfc_index. The old vfsconf struct is now visible again, and the new vfsconf struct didn't match reality. --- lib/libc/gen/getvfsent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libc/gen/getvfsent.c b/lib/libc/gen/getvfsent.c index 4ba6bf2c5e5..c4ce2cc158a 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; }