]> git.ipfire.org Git - thirdparty/systemd.git/commit
journalctl: split get_boots() into three 27721/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 26 May 2023 18:57:39 +0000 (03:57 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 26 May 2023 18:57:39 +0000 (03:57 +0900)
commite44f06065bf20e8d0e4adacff61350ebd36f299e
tree154b55c12d195ede9a775354343b67ff158564f5
parentc93d3c05129388386bfde2588f8351f6633107ae
journalctl: split get_boots() into three

Previously, get_boots() used for three ways; finding boot entry by
boot ID, finding boot entry by offset, listing up all boot IDs.

Let's split it into three for each usecase.

No functional change, just refactoring.
src/journal/journalctl.c