mirror of
https://github.com/vivier/EMILE.git
synced 2024-05-31 17:41:33 +00:00
Correct ext2: decoding
This commit is contained in:
parent
cb5642517c
commit
27f4864fac
|
@ -55,10 +55,10 @@ static char* get_fs(char *path, fs_t *fs)
|
|||
}
|
||||
#endif
|
||||
#ifdef EXT2_SUPPORT
|
||||
if (strncmp("ext2:", path, 8) == 0)
|
||||
if (strncmp("ext2:", path, 5) == 0)
|
||||
{
|
||||
*fs = fs_EXT2;
|
||||
return path + 8;
|
||||
return path + 5;
|
||||
}
|
||||
#endif
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in New Issue
Block a user