[systemd-devel] [PATCH 2/2] journalctl: print correct timespan in verify
Lennart Poettering
lennart at poettering.net
Mon Sep 24 06:05:00 PDT 2012
On Sat, 22.09.12 21:45, Mirco Tischler (mt-ml at gmx.de) wrote:
Hey!
> The old code used a timestamp to print a timespan for unsealed journalfiles,
> incorrectly showing things like 2230 days of unsealed entries. Print the timespan
> between the first and last entry instead.
I commited your code, but then reworked it a little, so that we actually
always return the first entry timestamp in the file from
journal_file_validate(), so that we don't have to fetch it ourselves in
journalctl.c. This also fixes a missing LE conversion.
Thanks!
Lennart
--
Lennart Poettering - Red Hat, Inc.
More information about the systemd-devel
mailing list