On Sun, 17 May 2020 09:28:45 -0400 Roman Mashak <[email protected]> wrote:
> + if (tm->firstuse != 0) {
> + print_uint(PRINT_JSON, "first_used", NULL, tm->firstuse);
> + print_uint(PRINT_FP, NULL, " firstused %u sec",
> + (unsigned int)(tm->firstuse/hz));
> + }
The JSON should report in same units as non-json output.
If you are copying what expires does, it is wrong as well.
