diff --git a/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.c b/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.c index 69193d5efa..52aaff021f 100644 --- a/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.c +++ b/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.c @@ -194,7 +194,7 @@ GetFullyQualifiedPath( PathCleanUpDirectories(PathToReturn); - if (PathTpReturn == NULL) { + if (PathToReturn == NULL) { return NULL; }