summaryrefslogtreecommitdiffstats
path: root/src/journal/journalctl.c
diff options
context:
space:
mode:
authorRonan Pigott <rpigott@berkeley.edu>2020-10-28 07:53:23 +0100
committerLennart Poettering <lennart@poettering.net>2020-11-06 12:17:03 +0100
commitea394d48cc66329413e2b10713f0c0c4eb18c08d (patch)
treeb30e83ddb59865ef46ac86d8ed371837e9ecf19f /src/journal/journalctl.c
parenthwdb: Fix Pinebook Pro's brightness up/down and sleep keys (diff)
downloadsystemd-ea394d48cc66329413e2b10713f0c0c4eb18c08d.tar.xz
systemd-ea394d48cc66329413e2b10713f0c0c4eb18c08d.zip
journalctl: show boot id in the reboot context separator
Diffstat (limited to '')
-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;