summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorLucas Werkmeister <mail@lucaswerkmeister.de>2017-02-18 22:36:25 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-02-18 16:36:25 -0500
commit1e94df447150f065241091044b32a730a5bf9ed4 (patch)
tree6d150807c4b9b335329c6a11c5ae7904fd3f7ed9 /src/journal
parentb22319ead410ee9d3d46e07b37274658b974dbe8 (diff)
journalctl: add reference to sd-id128(3) to output (#5382)
SD_ID128_MAKE is clearly not a standard C macro, so let’s point the user to its documentation to let them know which header they need and what they can then do with MESSAGE_XYZ.
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/journalctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c
index 9ad6f115a1..22133c51eb 100644
--- a/src/journal/journalctl.c
+++ b/src/journal/journalctl.c
@@ -912,7 +912,7 @@ static int generate_new_id128(void) {
SD_ID128_FORMAT_STR "\n\n"
"As UUID:\n"
"%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x\n\n"
- "As macro:\n"
+ "As sd-id128(3) macro:\n"
"#define MESSAGE_XYZ SD_ID128_MAKE(",
SD_ID128_FORMAT_VAL(id),
SD_ID128_FORMAT_VAL(id));