Fixing compiler warnings

This commit is contained in:
Gregor Maier 2011-02-25 21:15:22 -08:00
parent c54c1e0dce
commit fc6fcded07
2 changed files with 2 additions and 2 deletions

View file

@ -2724,7 +2724,7 @@ void RemoteSerializer::InternalCommError(const char* msg)
#ifdef DEBUG_COMMUNICATION #ifdef DEBUG_COMMUNICATION
DumpDebugData(); DumpDebugData();
#else #else
internal_error(msg); internal_error("%s", msg);
#endif #endif
} }

View file

@ -1354,7 +1354,7 @@ void NetSessions::Internal(const char* msg, const struct pcap_pkthdr* hdr,
const u_char* pkt) const u_char* pkt)
{ {
DumpPacket(hdr, pkt); DumpPacket(hdr, pkt);
internal_error(msg); internal_error("%s", msg);
} }
void NetSessions::Weird(const char* name, void NetSessions::Weird(const char* name,