mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Lib: Support for 64-bit numbers in bvsnprintf()
Use 'l' for s64/u64 instead of for long/ulong, as that is much more useful. Also make number() correct with regard to signed/unsigned typecasts.
This commit is contained in:
@@ -192,7 +192,7 @@ perf_loop(void *data)
|
||||
s64 withdrawtime = timediff(&ts_update, &ts_withdraw);
|
||||
|
||||
if (updatetime NS >= p->threshold_min)
|
||||
PLOG("exp=%u times: gen=%lu update=%lu withdraw=%lu",
|
||||
PLOG("exp=%u times: gen=%ld update=%ld withdraw=%ld",
|
||||
p->exp, gentime, updatetime, withdrawtime);
|
||||
|
||||
if (updatetime NS < p->threshold_max)
|
||||
|
Reference in New Issue
Block a user