[core] fix a potential Could not get Disk Extents message

* Reported in #880
This commit is contained in:
Pete Batard 2017-01-05 15:42:24 +00:00
parent 5170706695
commit 08b6ce38c2
2 changed files with 6 additions and 6 deletions

View file

@ -197,7 +197,7 @@ char* GetLogicalName(DWORD DriveIndex, BOOL bKeepTrailingBackslash, BOOL bSilent
HANDLE hDrive = INVALID_HANDLE_VALUE, hVolume = INVALID_HANDLE_VALUE;
size_t len;
char path[MAX_PATH];
VOLUME_DISK_EXTENTS DiskExtents;
VOLUME_DISK_EXTENTS_REDEF DiskExtents;
DWORD size;
UINT drive_type;
int i, j;