mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fix one more format error found by gcc 5.3.1
This commit is contained in:
parent
0d706bcccd
commit
ed3447acaa
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ bool JSON::Describe(ODesc* desc, Value* val, const string& name) const
|
|||
if ( ! gmtime_r(&the_time, &t) ||
|
||||
! strftime(buffer, sizeof(buffer), "%Y-%m-%dT%H:%M:%S", &t) )
|
||||
{
|
||||
GetThread()->Error(GetThread()->Fmt("json formatter: failure getting time: (%" PRIu64 ")", val->val.double_val));
|
||||
GetThread()->Error(GetThread()->Fmt("json formatter: failure getting time: (%lf)", val->val.double_val));
|
||||
// This was a failure, doesn't really matter what gets put here
|
||||
// but it should probably stand out...
|
||||
desc->Add("2000-01-01T00:00:00.000000");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue