make logging with threads compile on mac os and fix a couple of string literal warnings.

This commit is contained in:
Bernhard Amann 2012-01-30 12:12:14 -08:00
parent e4e770d475
commit 6cc29a7832
3 changed files with 11 additions and 13 deletions

View file

@ -90,7 +90,7 @@ void Manager::Process()
else
{
string s = msg->Name() + " failed, terminating thread";
reporter->Error(s.c_str());
reporter->Error("%s", s.c_str());
t->Stop();
}