diff options
author | Ronan Pigott <rpigott@berkeley.edu> | 2020-10-28 07:53:23 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-11-06 12:17:03 +0100 |
commit | ea394d48cc66329413e2b10713f0c0c4eb18c08d (patch) | |
tree | b30e83ddb59865ef46ac86d8ed371837e9ecf19f /src/journal/journalctl.c | |
parent | hwdb: Fix Pinebook Pro's brightness up/down and sleep keys (diff) | |
download | systemd-ea394d48cc66329413e2b10713f0c0c4eb18c08d.tar.xz systemd-ea394d48cc66329413e2b10713f0c0c4eb18c08d.zip |
journalctl: show boot id in the reboot context separator
Diffstat (limited to '')
-rw-r--r-- | src/journal/journalctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c index 8bc0aa22de..d1ed682985 100644 --- a/src/journal/journalctl.c +++ b/src/journal/journalctl.c @@ -2672,8 +2672,8 @@ int main(int argc, char *argv[]) { if (r >= 0) { if (previous_boot_id_valid && !sd_id128_equal(boot_id, previous_boot_id)) - printf("%s-- Reboot --%s\n", - ansi_highlight(), ansi_normal()); + printf("%s-- Boot "SD_ID128_FORMAT_STR" --%s\n", + ansi_highlight(), SD_ID128_FORMAT_VAL(boot_id), ansi_normal()); previous_boot_id = boot_id; previous_boot_id_valid = true; |