summaryrefslogtreecommitdiff
path: root/MdePkg/Library/PeiHobLib
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/PeiHobLib')
-rw-r--r--MdePkg/Library/PeiHobLib/HobLib.c4
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);
}
/**