From: Ronan Pigott Date: Wed, 28 Oct 2020 06:53:23 +0000 (-0700) Subject: journalctl: show boot id in the reboot context separator X-Git-Tag: v247-rc2~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea394d48cc66329413e2b10713f0c0c4eb18c08d;p=thirdparty%2Fsystemd.git journalctl: show boot id in the reboot context separator --- diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c index 8bc0aa22dea..d1ed6829855 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;