Correct ext2: decoding

This commit is contained in:
Laurent Vivier 2008-07-24 01:06:05 +00:00
parent cb5642517c
commit 27f4864fac

View File

@ -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;