mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[MOUNTMGR] Fix enumerating drive letter for creating new mountpoint
This is purely a copypasta error fix, which was causing MountMgrNextDriveLetterWorker to fail as no drive letters were enumerated previously. With that set of patches, MountMgr now properly assigns drive letters to new devices!
This commit is contained in:
parent
e359a3c888
commit
a53992180d
1 changed files with 1 additions and 1 deletions
|
@ -610,7 +610,7 @@ MountMgrNextDriveLetterWorker(IN PDEVICE_EXTENSION DeviceExtension,
|
|||
DriveLetterInfo->CurrentDriveLetter <= L'Z';
|
||||
DriveLetterInfo->CurrentDriveLetter++)
|
||||
{
|
||||
NameBuffer[LETTER_POSITION] = DeviceInformation->SuggestedDriveLetter;
|
||||
NameBuffer[LETTER_POSITION] = DriveLetterInfo->CurrentDriveLetter;
|
||||
|
||||
Status = MountMgrCreatePointWorker(DeviceExtension, &SymbolicName, &TargetDeviceName);
|
||||
if (NT_SUCCESS(Status))
|
||||
|
|
Loading…
Reference in a new issue