Fix VFS not allocating the drvs array

This commit is contained in:
pjht 2019-08-05 14:25:46 -05:00
parent bff1eee381
commit 9e4a42366d

View File

@ -51,6 +51,7 @@ static int vfsstrcmp(const char* s1,const char* s2) {
void init_vfs() {
drv_names=malloc(sizeof(const char**)*32);
drvs=malloc(sizeof(uint32_t)*32);
max_drvs=32;
next_drv_indx=0;
head_mapping=NULL;