specify operand order

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9451 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jcarsey 2009-11-19 21:10:41 +00:00
parent ef34de257b
commit 6c88029b45
1 changed files with 2 additions and 2 deletions

View File

@ -1494,7 +1494,7 @@ ShellFindFilePath (
Path = ShellGetEnvironmentVariable(L"cwd");
if (Path != NULL) {
TestPath = AllocateZeroPool(StrSize(Path) + StrSize(FileName));
TestPath = AllocateZeroPool((StrSize(Path) + StrSize(FileName)));
StrCpy(TestPath, Path);
StrCat(TestPath, FileName);
Status = ShellOpenFileByName(TestPath, &Handle, EFI_FILE_MODE_READ, 0);
@ -1508,7 +1508,7 @@ ShellFindFilePath (
}
Path = ShellGetEnvironmentVariable(L"path");
if (Path != NULL) {
TestPath = AllocateZeroPool(StrSize(Path)+StrSize(FileName) );
TestPath = AllocateZeroPool((StrSize(Path)+StrSize(FileName)));
Walker = (CHAR16*)Path;
do {
CopyMem(TestPath, Walker, StrSize(Walker));