summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRonan Pigott <rpigott@berkeley.edu>2020-10-27 23:53:23 -0700
committerLennart Poettering <lennart@poettering.net>2020-11-06 12:17:03 +0100
commitea394d48cc66329413e2b10713f0c0c4eb18c08d (patch)
treeb30e83ddb59865ef46ac86d8ed371837e9ecf19f /src
parentf25e30dec4958ba3ab972b823210fcbc9dd231da (diff)
downloadsystemd-ea394d48cc66329413e2b10713f0c0c4eb18c08d.tar.gz
journalctl: show boot id in the reboot context separator
Diffstat (limited to 'src')
-rw-r--r--src/journal/journalctl.c4
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;