diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-08-24 02:14:58 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-08-24 02:14:58 +0000 |
commit | 3a3645548d78897e6b75b9bb2b5ad236400258c3 (patch) | |
tree | a04d56e1b968d37415b487c6bc8d0b5f51fffbcb /MdePkg | |
parent | 44acc27575a7e4999d6b56097f3df7baf071f213 (diff) | |
download | edk2-platforms-3a3645548d78897e6b75b9bb2b5ad236400258c3.tar.xz |
Use CopyGuid instead of CopyMem.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3699 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r-- | MdePkg/Library/PeiHobLib/HobLib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Library/PeiHobLib/HobLib.c b/MdePkg/Library/PeiHobLib/HobLib.c index 839a00f262..f971e59945 100644 --- a/MdePkg/Library/PeiHobLib/HobLib.c +++ b/MdePkg/Library/PeiHobLib/HobLib.c @@ -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);
}
/**
|