Misc: More format string fixes

This commit is contained in:
Stenzek
2024-05-25 15:45:17 +10:00
parent a75e61e1d6
commit 1565a2667d
17 changed files with 33 additions and 32 deletions

View File

@ -58,7 +58,7 @@ void GDBConnection::receivedData()
}
else if (GDBProtocol::IsPacketComplete(m_readBuffer))
{
DEBUG_LOG("{} > %s", m_descriptor, m_readBuffer.c_str());
DEBUG_LOG("{} > {}", m_descriptor, m_readBuffer);
writePacket(GDBProtocol::ProcessPacket(m_readBuffer));
m_readBuffer.erase();
}
@ -66,7 +66,7 @@ void GDBConnection::receivedData()
}
if (bytesRead == -1)
{
ERROR_LOG("{} failed to read from socket: %s", m_descriptor, errorString().toStdString());
ERROR_LOG("{} failed to read from socket: {}", m_descriptor, errorString().toStdString());
}
}