Fix VFS not allocating the drvs array
This commit is contained in:
parent
bff1eee381
commit
9e4a42366d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user