Fix a build warning and a dangerous possible crasher.

llvm-svn: 165460
This commit is contained in:
Greg Clayton 2012-10-08 23:50:19 +00:00
parent 40a69600af
commit 13d4dfd3f2

View File

@ -73,7 +73,7 @@ public:
%extend {
void Print (const char* str)
{
self->Printf(str);
self->Printf("%s", str);
}
}