summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-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 c4ce2cc..4ba6bf2 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_index == type)
+ if(_vfslist[i].vfc_typenum == type)
break;
}
OpenPOWER on IntegriCloud