]> git.ipfire.org Git - thirdparty/systemd.git/commit
journalctl: simplify discover_next_boot() a bit
authorLennart Poettering <lennart@poettering.net>
Mon, 25 Apr 2016 14:37:09 +0000 (16:37 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 25 Apr 2016 14:37:09 +0000 (16:37 +0200)
commitd1bf9dc9631de75c4e1fd062ac5351abebfd9592
treeb4090e515b884baa6ecd73e9a7462cf488f15f05
parentd4723fb5016b6679b3ed254be3832d88804a9f87
journalctl: simplify discover_next_boot() a bit

Drop the "read_realtime" parameter. Getting the realtime timestamp from an
entry is cheap, as it is a normal header field, hence let's just get this
unconditionally, and simplify our code a bit.
src/journal/journalctl.c