journalctl: print correct timespan in verify
authorMirco Tischler <mt-ml@gmx.de>
Sat, 22 Sep 2012 19:45:31 +0000 (21:45 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 24 Sep 2012 12:56:52 +0000 (14:56 +0200)
commit73726ac8983f46f9a39ad76c395e86d9bbfb470c
tree9884f80b2ba684d2383c626b6821f00f1a8053fa
parent9086e840ff36701dd44ba16b23570c129d210d3a
journalctl: print correct timespan in verify

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.
src/journal/journalctl.c