summaryrefslogtreecommitdiffstats
path: root/lldb/scripts
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-10-08 23:50:19 +0000
committerGreg Clayton <gclayton@apple.com>2012-10-08 23:50:19 +0000
commit13d4dfd3f22809964181708cd67231269e40eb55 (patch)
tree943933b040fa329fa1d6c3bb8f27e498a6257e49 /lldb/scripts
parent40a69600af44c8155f22496da17445a9673dc6b6 (diff)
downloadbcm5719-llvm-13d4dfd3f22809964181708cd67231269e40eb55.tar.gz
bcm5719-llvm-13d4dfd3f22809964181708cd67231269e40eb55.zip
Fix a build warning and a dangerous possible crasher.
llvm-svn: 165460
Diffstat (limited to 'lldb/scripts')
-rw-r--r--lldb/scripts/Python/interface/SBStream.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/scripts/Python/interface/SBStream.i b/lldb/scripts/Python/interface/SBStream.i
index 3eca0dcaa1b..052fa8f9bd3 100644
--- a/lldb/scripts/Python/interface/SBStream.i
+++ b/lldb/scripts/Python/interface/SBStream.i
@@ -73,7 +73,7 @@ public:
%extend {
void Print (const char* str)
{
- self->Printf(str);
+ self->Printf("%s", str);
}
}
OpenPOWER on IntegriCloud