summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/extra/m_mysql.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extra/m_mysql.cpp b/src/modules/extra/m_mysql.cpp
index bd8b6a57f..1b2a43826 100644
--- a/src/modules/extra/m_mysql.cpp
+++ b/src/modules/extra/m_mysql.cpp
@@ -742,7 +742,7 @@ class ModuleSQL : public Module
rc = pthread_join(Dispatcher, &status);
if (rc)
{
- ServerInstance->Logs->Log("m_mysql",DEFAULT,"SQL: Error code from pthread_join() is " + rc);
+ ServerInstance->Logs->Log("m_mysql",DEFAULT,"SQL: Error code from pthread_join() is %d", rc);
}
throw ModuleException("m_mysql: Unable to publish feature 'SQL'");
}
@@ -760,7 +760,7 @@ class ModuleSQL : public Module
rc = pthread_join(Dispatcher, &status);
if (rc)
{
- ServerInstance->Logs->Log("m_mysql",DEFAULT,"SQL: Error code from pthread_join() is " + rc);
+ ServerInstance->Logs->Log("m_mysql",DEFAULT,"SQL: Error code from pthread_join() is %d", rc);
}
ClearAllConnections();
delete Conf;