This is actually a FileSpec, so use .GetCString() instead

llvm-svn: 262914
This commit is contained in:
Enrico Granata 2016-03-08 05:59:47 +00:00
parent c8fd719e21
commit 443923b72d
1 changed files with 1 additions and 1 deletions

View File

@ -461,7 +461,7 @@ CommandInterpreter::Initialize ()
AddAlias ("run", cmd_obj_sp, "--shell-expand-args true --");
#else
StreamString defaultshell;
defaultshell.Printf("--shell=%s --", HostInfo::GetDefaultShell().GetPath().c_str());
defaultshell.Printf("--shell=%s --", HostInfo::GetDefaultShell().GetPath().GetCString());
AddAlias ("r", cmd_obj_sp, defaultshell.GetData());
AddAlias ("run", cmd_obj_sp, defaultshell.GetData());
#endif