[BOOTLIB] Use the correct size in BlockIoEfiGetDeviceInformation(). Spotted by Andrew...
authorAmine Khaldi <amine.khaldi@reactos.org>
Fri, 20 Nov 2015 09:51:23 +0000 (09:51 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Fri, 20 Nov 2015 09:51:23 +0000 (09:51 +0000)
svn path=/trunk/; revision=69946

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

index 131861e..38e59a5 100644 (file)
@@ -1023,7 +1023,7 @@ BlockIoEfiGetDeviceInformation (
                         /* Copy it */
                         RtlCopyMemory(&BlockDevice->Disk.Gpt.Signature,
                                       &Device->Local.HardDisk.Gpt.PartitionSignature,
-                                      sizeof(&BlockDevice->Disk.Gpt.Signature));
+                                      sizeof(BlockDevice->Disk.Gpt.Signature));
                         Found = TRUE;
                     }
                 }