diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-10-07 15:28:05 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-10-11 16:39:09 +0200 |
commit | a6e016af0106d4204ec4718ecfdc137355656241 (patch) | |
tree | d6d6aa9beea607b9adb9a7373ee7f26e0591a768 /src/journal | |
parent | 2c5d05b3cd986568105d67891e4010b868dea24f (diff) | |
download | systemd-a6e016af0106d4204ec4718ecfdc137355656241.tar.gz |
tree-wide: use STRERROR()
Diffstat (limited to 'src/journal')
-rw-r--r-- | src/journal/journalctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c index f0d28fd48b..11de07fcfa 100644 --- a/src/journal/journalctl.c +++ b/src/journal/journalctl.c @@ -1460,7 +1460,7 @@ static int add_boot(sd_journal *j) { r = get_boots(j, NULL, &boot_id, arg_boot_offset); assert(r <= 1); if (r <= 0) { - const char *reason = (r == 0) ? "No such boot ID in journal" : strerror_safe(r); + const char *reason = (r == 0) ? "No such boot ID in journal" : STRERROR(r); if (sd_id128_is_null(arg_boot_id)) log_error("Data from the specified boot (%+i) is not available: %s", |