summaryrefslogtreecommitdiff
path: root/ShellPkg/Application/Shell
diff options
context:
space:
mode:
authorChris Phillips <chrisp@hp.com>2014-03-27 18:21:43 +0000
committerjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>2014-03-27 18:21:43 +0000
commitd6e88a6c60f49c73bea31a0f653d85c6f358ff0d (patch)
treeb44a01b82b07a909c3e6a37d19183a52246cb8d3 /ShellPkg/Application/Shell
parent2bc363714e6bb2192a10b7b921c682eddd7cf8ec (diff)
downloadedk2-platforms-d6e88a6c60f49c73bea31a0f653d85c6f358ff0d.tar.xz
ShellPkg: Fix file system change issue that results in ASSERT
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chris Phillips <chrisp@hp.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15406 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg/Application/Shell')
-rw-r--r--ShellPkg/Application/Shell/Shell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ShellPkg/Application/Shell/Shell.c b/ShellPkg/Application/Shell/Shell.c
index ba3be3f6c3..fa7201642a 100644
--- a/ShellPkg/Application/Shell/Shell.c
+++ b/ShellPkg/Application/Shell/Shell.c
@@ -2,7 +2,7 @@
This is THE shell (application)
Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
- Copyright (c) 2013, Hewlett-Packard Development Company, L.P.
+ (C) Copyright 2013-2014, Hewlett-Packard Development Company, L.P.
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -2481,7 +2481,7 @@ RunCommand(
//
switch (Type = GetOperationType(FirstParameter)) {
case File_Sys_Change:
- Status = ChangeMappedDrive(CleanOriginal);
+ Status = ChangeMappedDrive (FirstParameter);
break;
case Internal_Command:
case Script_File_Name: