From 6c88029b45e8d6d5da1012d16c3eef97e9c9d0f3 Mon Sep 17 00:00:00 2001 From: jcarsey Date: Thu, 19 Nov 2009 21:10:41 +0000 Subject: [PATCH] specify operand order git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9451 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellPkg/Library/UefiShellLib/UefiShellLib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ShellPkg/Library/UefiShellLib/UefiShellLib.c b/ShellPkg/Library/UefiShellLib/UefiShellLib.c index f0b1e95b5f..3aeaf4bc57 100644 --- a/ShellPkg/Library/UefiShellLib/UefiShellLib.c +++ b/ShellPkg/Library/UefiShellLib/UefiShellLib.c @@ -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)); -- 2.39.2