mirror of
https://github.com/systemd/systemd.git
synced 2025-03-31 14:50:15 +03:00
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.
This commit is contained in:
parent
b22319ead4
commit
1e94df4471
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user