[MOUNTMGR] QueryPointsFromSymbolicLinkName(): Fix a copypasta

Addendum to r55156.

CORE-16371
This commit is contained in:
Serge Gautherie 2019-10-14 14:01:44 +02:00 committed by Pierre Schweitzer
parent 13bb5e2317
commit f5f52417cb

View file

@ -478,7 +478,7 @@ QueryPointsFromSymbolicLinkName(IN PDEVICE_EXTENSION DeviceExtension,
/* Check for the link */
for (SymlinksEntry = DeviceInformation->SymbolicLinksListHead.Flink;
SymlinksEntry != &(DeviceInformation->SymbolicLinksListHead);
SymlinksEntry = DeviceEntry->Flink)
SymlinksEntry = SymlinksEntry->Flink)
{
SymlinkInformation = CONTAINING_RECORD(SymlinksEntry, SYMLINK_INFORMATION, SymbolicLinksListEntry);