[BOOTLIB]
authorThomas Faber <thomas.faber@reactos.org>
Sat, 4 Feb 2017 17:41:14 +0000 (17:41 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sat, 4 Feb 2017 17:41:14 +0000 (17:41 +0000)
- Zero the correct structure in EtfsOpen. CID 1341378

svn path=/trunk/; revision=73677

reactos/boot/environ/lib/io/etfs.c

index 0b032ca..ffb4553 100644 (file)
@@ -601,7 +601,7 @@ EtfsOpen (
     }
 
     /* Zero it out */
-    RtlZeroMemory(NewFile, sizeof(*EtfsFile));
+    RtlZeroMemory(EtfsFile, sizeof(*EtfsFile));
 
     /* Capture the device ID of the directory */
     NewFile->DeviceId = Directory->DeviceId;