summaryrefslogtreecommitdiff
path: root/EmbeddedPkg/Library
diff options
context:
space:
mode:
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2010-02-10 01:09:59 +0000
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2010-02-10 01:09:59 +0000
commite83c843bbdc78e01adefe209e57afc756ca66a00 (patch)
tree4da5fb87c0bb6db5a5da35496b7c4d5b9b5d7a00 /EmbeddedPkg/Library
parent16ccac42cff45475b04dc6a06a24d569baedb427 (diff)
downloadedk2-platforms-e83c843bbdc78e01adefe209e57afc756ca66a00.tar.xz
Needed to fix defaulting / to be \ as it is required by EFI Simple File System.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9959 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EmbeddedPkg/Library')
-rw-r--r--EmbeddedPkg/Library/EfiFileLib/EfiFileLib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/EmbeddedPkg/Library/EfiFileLib/EfiFileLib.c b/EmbeddedPkg/Library/EfiFileLib/EfiFileLib.c
index c58d21e820..a956e610fc 100644
--- a/EmbeddedPkg/Library/EfiFileLib/EfiFileLib.c
+++ b/EmbeddedPkg/Library/EfiFileLib/EfiFileLib.c
@@ -686,7 +686,7 @@ EfiOpen (
AsciiStrCpy (CwdPlusPathName, gCwd);
StrLen = AsciiStrLen (gCwd);
if ((*PathName != '/') && (*PathName != '\\') && (gCwd[StrLen-1] != '/') && (gCwd[StrLen-1] != '\\')) {
- AsciiStrCat (CwdPlusPathName, "/");
+ AsciiStrCat (CwdPlusPathName, "\\");
}
}
@@ -715,7 +715,7 @@ EfiOpen (
File->FileName = &File->DeviceName[FileStart];
if (File->FileName[0] == '\0') {
// if it is just a file name use / as root
- File->FileName = "/";
+ File->FileName = "\\";
}
//