mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fix various format specifiers
This commit is contained in:
parent
cf8496dc0a
commit
b1e96ab952
5 changed files with 8 additions and 4 deletions
4
CHANGES
4
CHANGES
|
@ -1,4 +1,8 @@
|
|||
|
||||
3.2.0-dev.37 | 2020-02-14 11:09:50 -0800
|
||||
|
||||
* Fix various format specifiers (Jon Siwek, Corelight)
|
||||
|
||||
3.2.0-dev.36 | 2020-02-14 10:29:36 -0700
|
||||
|
||||
* broker: include cleanup (Max Kellermann)
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
3.2.0-dev.36
|
||||
3.2.0-dev.37
|
||||
|
|
|
@ -289,7 +289,7 @@ void net_run()
|
|||
// starting with the first.
|
||||
if ( ! ready.empty() || loop_counter++ % 100 == 0 )
|
||||
{
|
||||
DBG_LOG(DBG_MAINLOOP, "realtime=%.6f ready_count=%ld",
|
||||
DBG_LOG(DBG_MAINLOOP, "realtime=%.6f ready_count=%zu",
|
||||
current_time(), ready.size());
|
||||
|
||||
if ( ! ready.empty() )
|
||||
|
|
|
@ -135,7 +135,7 @@ void ProfileLogger::Log()
|
|||
SessionStats s;
|
||||
sessions->GetStats(s);
|
||||
|
||||
file->Write(fmt("%.06f Conns: tcp=%lu/%lu udp=%lu/%lu icmp=%lu/%lu\n",
|
||||
file->Write(fmt("%.06f Conns: tcp=%zu/%zu udp=%zu/%zu icmp=%zu/%zu\n",
|
||||
network_time,
|
||||
s.num_TCP_conns, s.max_TCP_conns,
|
||||
s.num_UDP_conns, s.max_UDP_conns,
|
||||
|
|
|
@ -156,7 +156,7 @@ void Manager::FindReadySources(std::vector<IOSource*>* ready)
|
|||
}
|
||||
}
|
||||
|
||||
DBG_LOG(DBG_MAINLOOP, "timeout: %f ready size: %ld time_to_poll: %d\n",
|
||||
DBG_LOG(DBG_MAINLOOP, "timeout: %f ready size: %zu time_to_poll: %d\n",
|
||||
timeout, ready->size(), time_to_poll);
|
||||
|
||||
// If we didn't find any IOSources with zero timeouts or it's time to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue