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:
lgao4 2008-01-31 06:17:03 +00:00
parent 00d00b6dfd
commit e2591cb297
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
/**