mirror of
https://github.com/aaru-dps/fstester.git
synced 2025-12-16 19:24:39 +00:00
Change how errors from FAT32 GetDiskFreeEx() functions are detected when getting volume information in DOS.
This commit is contained in:
@@ -56,7 +56,7 @@ void GetVolumeInfo(const char* path, size_t* clusterSize)
|
|||||||
|
|
||||||
if(rc)
|
if(rc)
|
||||||
{
|
{
|
||||||
if(errno == ENOSYS)
|
if(errno == ENOSYS || errno == EINVAL)
|
||||||
{
|
{
|
||||||
#ifdef __TURBOC__
|
#ifdef __TURBOC__
|
||||||
getdfree(driveNo, &oldFreeSpace);
|
getdfree(driveNo, &oldFreeSpace);
|
||||||
|
|||||||
Reference in New Issue
Block a user