From: Lucas Werkmeister Date: Sat, 18 Feb 2017 21:36:25 +0000 (+0100) Subject: journalctl: add reference to sd-id128(3) to output (#5382) X-Git-Tag: v233~70 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1e94df447150f065241091044b32a730a5bf9ed4;p=thirdparty%2Fsystemd.git 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. --- diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c index 9ad6f115a19..22133c51eb7 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));