diff --git a/src/ProfileManager.cpp b/src/ProfileManager.cpp index fa1531c316..eb0fb8d34f 100644 --- a/src/ProfileManager.cpp +++ b/src/ProfileManager.cpp @@ -507,7 +507,8 @@ bool ProfileManager::DeleteLocalProfile( RString sProfileID ) } else { - LOG->Warn( ssprintf("[ProfileManager::DeleteLocalProfile] DeleteRecursive(%s) failed",sProfileID.c_str()) ); + LOG->Warn("[ProfileManager::DeleteLocalProfile] DeleteRecursive(%s) failed", + sProfileID.c_str() ); return false; } }