Use CopyGuid instead of CopyMem.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3699 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qwang12 2007-08-24 02:14:58 +00:00
parent 44acc27575
commit 3a3645548d
1 changed files with 2 additions and 2 deletions

View File

@ -433,8 +433,8 @@ BuildFv2Hob (
Hob->BaseAddress = BaseAddress;
Hob->Length = Length;
CopyMem (&Hob->FvName, FvName, sizeof (EFI_GUID));
CopyMem (&Hob->FileName, FileName, sizeof (EFI_GUID));
CopyGuid (&Hob->FvName, FvName);
CopyGuid (&Hob->FileName, FileName);
}
/**