diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-01-31 06:17:03 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-01-31 06:17:03 +0000 |
commit | e2591cb297d279a09e6e66fc4e8c5689cc1cf7b5 (patch) | |
tree | 574c4c016f234cb917a018c4c18de283d476d12d /MdeModulePkg/Library/EdkFvbServiceLib | |
parent | 00d00b6dfd446d04ed44f8cf2b4a1810409578ac (diff) | |
download | edk2-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.c | 2 |
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);
}
/**
|