summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectPlatform.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-11-15 00:45:18 +0000
committerZachary Turner <zturner@google.com>2016-11-15 00:45:18 +0000
commit1e8016b2ea9914b61c9cd6fd0c95d425698475e3 (patch)
tree8322d78335c1aa55c4b8ce3c2d5357b947924564 /lldb/source/Commands/CommandObjectPlatform.cpp
parentf7009b42f8a9d916f0ed69274089fae32e5a1bbc (diff)
downloadbcm5719-llvm-1e8016b2ea9914b61c9cd6fd0c95d425698475e3.tar.gz
bcm5719-llvm-1e8016b2ea9914b61c9cd6fd0c95d425698475e3.zip
Fix some more StringRef printf warnings.
llvm-svn: 286915
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