summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/EdkFvbServiceLib/Ia32/Fvb.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Library/EdkFvbServiceLib/Ia32/Fvb.c')
-rw-r--r--MdeModulePkg/Library/EdkFvbServiceLib/Ia32/Fvb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/MdeModulePkg/Library/EdkFvbServiceLib/Ia32/Fvb.c b/MdeModulePkg/Library/EdkFvbServiceLib/Ia32/Fvb.c
index 3ec0d6f9eb..1e07c54ece 100644
--- a/MdeModulePkg/Library/EdkFvbServiceLib/Ia32/Fvb.c
+++ b/MdeModulePkg/Library/EdkFvbServiceLib/Ia32/Fvb.c
@@ -480,8 +480,8 @@ EfiFvbGetVolumeAttributes (
**/
EFI_STATUS
EfiFvbSetVolumeAttributes (
- IN UINTN Instance,
- IN EFI_FVB_ATTRIBUTES Attributes
+ IN UINTN Instance,
+ IN OUT EFI_FVB_ATTRIBUTES *Attributes
)
{
if (Instance >= mFvbCount) {
@@ -492,7 +492,7 @@ EfiFvbSetVolumeAttributes (
return EFI_INVALID_PARAMETER;
}
- return mFvbEntry[Instance].Fvb->SetAttributes (mFvbEntry[Instance].Fvb, &Attributes);
+ return mFvbEntry[Instance].Fvb->SetAttributes (mFvbEntry[Instance].Fvb, Attributes);
}
/**