Fixing a bunch of format strings.

Also leveraging GCC if available to check format specificier.

Closes #567.
This commit is contained in:
Robin Sommer 2011-10-18 17:39:40 -07:00
parent d86525ce61
commit 63b46a0ae2
14 changed files with 38 additions and 31 deletions

View file

@ -285,7 +285,7 @@ FILE* BroFile::BringIntoCache()
if ( ! f )
{
reporter->Error("can't open %s", this);
reporter->Error("can't open %s", name);
f = fopen("/dev/null", "w");