Author: akhaldi
Date: Fri Nov 20 09:51:23 2015
New Revision: 69946
URL:
http://svn.reactos.org/svn/reactos?rev=69946&view=rev
Log:
[BOOTLIB] Use the correct size in BlockIoEfiGetDeviceInformation(). Spotted by Andrew
Cook.
Modified:
trunk/reactos/boot/environ/lib/io/device.c
Modified: trunk/reactos/boot/environ/lib/io/device.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/environ/lib/io/device…
==============================================================================
--- trunk/reactos/boot/environ/lib/io/device.c [iso-8859-1] (original)
+++ trunk/reactos/boot/environ/lib/io/device.c [iso-8859-1] Fri Nov 20 09:51:23 2015
@@ -1023,7 +1023,7 @@
/* Copy it */
RtlCopyMemory(&BlockDevice->Disk.Gpt.Signature,
&Device->Local.HardDisk.Gpt.PartitionSignature,
- sizeof(&BlockDevice->Disk.Gpt.Signature));
+ sizeof(BlockDevice->Disk.Gpt.Signature));
Found = TRUE;
}
}