From a581a2ce8d90f350eb1b15eb81acef698d9dc31b Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Wed, 31 Jul 2024 11:27:28 +0900 Subject: [PATCH] journalctl: update log messages --- src/journal/journalctl-util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/journal/journalctl-util.c b/src/journal/journalctl-util.c index 32cdaf83812..5ff02baeb9d 100644 --- a/src/journal/journalctl-util.c +++ b/src/journal/journalctl-util.c @@ -99,12 +99,12 @@ int journal_acquire_boot(sd_journal *j) { r = journal_find_boot(j, arg_boot_id, arg_boot_offset, &boot_id); if (r < 0) - return log_error_errno(r, "Failed to find journal entry from the specified boot (%s%+i): %m", + return log_error_errno(r, "Failed to find journal entry for the specified boot (%s%+i): %m", sd_id128_is_null(arg_boot_id) ? "" : SD_ID128_TO_STRING(arg_boot_id), arg_boot_offset); if (r == 0) return log_error_errno(SYNTHETIC_ERRNO(ENODATA), - "No journal boot entry found from the specified boot (%s%+i).", + "No journal boot entry found for the specified boot (%s%+i).", sd_id128_is_null(arg_boot_id) ? "" : SD_ID128_TO_STRING(arg_boot_id), arg_boot_offset); -- 2.47.3