git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9952
6f19259b-4bc3-4df7-8a09-
765794883524
IN EFI_OPEN_FILE *File\r
)\r
{\r
+ CHAR16 *Str;\r
+\r
if (File == NULL) {\r
return;\r
}\r
\r
AsciiPrint (" %a: ", File->DeviceName);\r
if (File->FsInfo != NULL) {\r
- AsciiPrint ("%s: ", File->FsInfo->VolumeLabel);\r
+ for (Str = File->FsInfo->VolumeLabel; *Str != '\0'; Str++) {\r
+ if (*Str == ' ') {\r
+ // UI makes you enter _ for space, so make the printout match that\r
+ *Str = '_';\r
+ }\r
+ AsciiPrint ("%c", *Str);\r
+ }\r
+ AsciiPrint (":");\r
if (File->FsInfo->ReadOnly) {\r
AsciiPrint ("ReadOnly");\r
}\r