mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fixing compiler warnings (addresses #388)
This commit is contained in:
parent
c2683afc01
commit
cec4600d2e
15 changed files with 54 additions and 53 deletions
|
@ -296,7 +296,7 @@ void ODesc::AddBytesRaw(const void* bytes, unsigned int n)
|
|||
if ( ! write_failed )
|
||||
// Most likely it's a "disk full" so report
|
||||
// subsequent failures only once.
|
||||
reporter->Error(fmt("error writing to %s: %s", f->Name(), strerror(errno)));
|
||||
reporter->Error("%s", fmt("error writing to %s: %s", f->Name(), strerror(errno)));
|
||||
|
||||
write_failed = true;
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue