diff options
author | jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-11-19 21:10:41 +0000 |
---|---|---|
committer | jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-11-19 21:10:41 +0000 |
commit | 6c88029b45e8d6d5da1012d16c3eef97e9c9d0f3 (patch) | |
tree | d60620a3a3d80ff7f1375ba2263d65f468d1ceb5 /ShellPkg/Library/UefiShellLib | |
parent | ef34de257bd1956c1f6e6f93ba7dda64b17a41ea (diff) | |
download | edk2-platforms-6c88029b45e8d6d5da1012d16c3eef97e9c9d0f3.tar.xz |
specify operand order
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9451 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg/Library/UefiShellLib')
-rw-r--r-- | ShellPkg/Library/UefiShellLib/UefiShellLib.c | 4 |
1 files 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));
|