summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/CommandInterpreter.cpp
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2016-03-08 05:57:52 +0000
committerEnrico Granata <egranata@apple.com>2016-03-08 05:57:52 +0000
commitc8fd719e21990bc4685a57210182aed59702bed5 (patch)
tree6fe270046234b2ae5762b03a75783b17b11465b1 /lldb/source/Interpreter/CommandInterpreter.cpp
parent212130ac4d517379afdc1b1eb3b861fd98f304f3 (diff)
downloadbcm5719-llvm-c8fd719e21990bc4685a57210182aed59702bed5.tar.gz
bcm5719-llvm-c8fd719e21990bc4685a57210182aed59702bed5.zip
Use .c_str() here to unbreak the Linux build
llvm-svn: 262913
Diffstat (limited to 'lldb/source/Interpreter/CommandInterpreter.cpp')
-rw-r--r--lldb/source/Interpreter/CommandInterpreter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp
index 11009f6f211..3733ac1a772 100644
--- a/lldb/source/Interpreter/CommandInterpreter.cpp
+++ b/lldb/source/Interpreter/CommandInterpreter.cpp
@@ -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());
+ defaultshell.Printf("--shell=%s --", HostInfo::GetDefaultShell().GetPath().c_str());
AddAlias ("r", cmd_obj_sp, defaultshell.GetData());
AddAlias ("run", cmd_obj_sp, defaultshell.GetData());
#endif
OpenPOWER on IntegriCloud