summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2008-03-11 19:21:25 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2008-03-11 19:21:25 +0000
commite02b6b95651ac41aec4f55b25740131d355628a8 (patch)
tree8e9c28cb4a782d1698a73eb0e3305f70d1344a4d
parent5bd4f5fafb3f58f6dcf7d13e9aef3706e8b20383 (diff)
downloadedk2-platforms-e02b6b95651ac41aec4f55b25740131d355628a8.tar.xz
edk2/MdeModulePkg/Universal/BdsDxe/BootMaint/BootOption.c:
Resolve gcc warning. The backslash ('\') at the end of a comment line is interpretted as a multi-line comment and generates a warning. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4838 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdeModulePkg/Universal/BdsDxe/BootMaint/BootOption.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/BdsDxe/BootMaint/BootOption.c b/MdeModulePkg/Universal/BdsDxe/BootMaint/BootOption.c
index 5d0f658342..57fcf4d732 100644
--- a/MdeModulePkg/Universal/BdsDxe/BootMaint/BootOption.c
+++ b/MdeModulePkg/Universal/BdsDxe/BootMaint/BootOption.c
@@ -1167,7 +1167,7 @@ Returns:
while (*Ptr != 0) {
if (*Ptr == '\\' && *(Ptr + 1) == '.' && *(Ptr + 2) == '.' && *(Ptr + 3) != 0) {
//
- // Convert \Name\..\ to \
+ // Convert "\Name\..\" to "\"
// DO NOT convert the .. if it is at the end of the string. This will
// break the .. behavior in changing directories.
//
@@ -1175,7 +1175,7 @@ Returns:
Ptr = LastSlash;
} else if (*Ptr == '\\' && *(Ptr + 1) == '.' && *(Ptr + 2) == '\\') {
//
- // Convert a \.\ to a \
+ // Convert a "\.\" to a "\"
//
BdsStrCpy (Ptr, Ptr + 2);
Ptr = LastSlash;