summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectPlatform.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Commands/CommandObjectPlatform.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectPlatform.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectPlatform.cpp b/lldb/source/Commands/CommandObjectPlatform.cpp
index 3a47c71a6fb..562572b4c75 100644
--- a/lldb/source/Commands/CommandObjectPlatform.cpp
+++ b/lldb/source/Commands/CommandObjectPlatform.cpp
@@ -1746,7 +1746,7 @@ public:
// Print out an usage syntax on an empty command line.
if (raw_command_line[0] == '\0') {
- result.GetOutputStream().Printf("%s\n", this->GetSyntax());
+ result.GetOutputStream().Printf("%s\n", this->GetSyntax().str().c_str());
return true;
}
OpenPOWER on IntegriCloud