mirror of https://github.com/acidanthera/audk.git
Fix bug in function EfiFvbEraseBlock()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4644 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
00d00b6dfd
commit
e2591cb297
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue