summaryrefslogtreecommitdiffstats
path: root/EmbeddedPkg
diff options
context:
space:
mode:
authorRonald Cron <ronald.cron@arm.com>2014-10-27 10:34:56 +0000
committeroliviermartin <oliviermartin@Edk2>2014-10-27 10:34:56 +0000
commitc9263c7dd26a17c1f1990f2554e8ec0f469e0080 (patch)
treee433fe9ae10e8eadd6016e4edefabe09c61556dd /EmbeddedPkg
parent5f81082e38c230f8d5643dc7bbc2290b59ab168a (diff)
downloadedk2-c9263c7dd26a17c1f1990f2554e8ec0f469e0080.tar.gz
edk2-c9263c7dd26a17c1f1990f2554e8ec0f469e0080.tar.bz2
edk2-c9263c7dd26a17c1f1990f2554e8ec0f469e0080.zip
EmbeddedPkg: Fix crash when retrieving LAN9118 network statistics
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ronald Cron <ronald.cron@arm.com> Reviewed-By: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16235 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EmbeddedPkg')
-rw-r--r--EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c b/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c
index 4146526592..b269c60f39 100644
--- a/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c
+++ b/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c
@@ -749,7 +749,7 @@ SnpStatistics (
}
// Fill in the statistics
- CopyMem(&Statistics, &LanDriver->Stats, sizeof(EFI_NETWORK_STATISTICS));
+ CopyMem (Statistics, &LanDriver->Stats, sizeof(EFI_NETWORK_STATISTICS));
return EFI_SUCCESS;
}