journalctl: update log messages
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 31 Jul 2024 02:27:28 +0000 (11:27 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 31 Jul 2024 22:31:44 +0000 (07:31 +0900)
src/journal/journalctl-util.c

index 32cdaf83812a01d171fa48212213db4e7e52e399..5ff02baeb9df896961713a333f6e40d8461e13d0 100644 (file)
@@ -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);