summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/EdkFvbServiceLib
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-01-31 06:17:03 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-01-31 06:17:03 +0000
commite2591cb297d279a09e6e66fc4e8c5689cc1cf7b5 (patch)
tree574c4c016f234cb917a018c4c18de283d476d12d /MdeModulePkg/Library/EdkFvbServiceLib
parent00d00b6dfd446d04ed44f8cf2b4a1810409578ac (diff)
downloadedk2-platforms-e2591cb297d279a09e6e66fc4e8c5689cc1cf7b5.tar.xz
Fix bug in function EfiFvbEraseBlock()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4644 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library/EdkFvbServiceLib')
-rw-r--r--MdeModulePkg/Library/EdkFvbServiceLib/Fvb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Library/EdkFvbServiceLib/Fvb.c b/MdeModulePkg/Library/EdkFvbServiceLib/Fvb.c
index 8c2a77e8d6..db415a1143 100644
--- a/MdeModulePkg/Library/EdkFvbServiceLib/Fvb.c
+++ b/MdeModulePkg/Library/EdkFvbServiceLib/Fvb.c
@@ -429,7 +429,7 @@ EfiFvbEraseBlock (
return EFI_INVALID_PARAMETER;
}
- return mFvbEntry[Instance].Fvb->EraseBlocks (mFvbEntry[Instance].Fvb, Lba, -1);
+ return mFvbEntry[Instance].Fvb->EraseBlocks (mFvbEntry[Instance].Fvb, Lba, 1, EFI_LBA_LIST_TERMINATOR);
}
/**