sd-journal: update comments

This commit is contained in:
Yu Watanabe
2026-05-15 15:04:02 +09:00
parent e1c63fd4c0
commit c33a9eb858
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -3162,7 +3162,7 @@ _public_ int sd_journal_wait(sd_journal *j, uint64_t timeout_usec) {
if (r < 0)
return r;
/* Server might have done some vacuuming while we weren't watching. Get rid of the deleted
/* journald might have done some vacuuming while we weren't watching. Get rid of the deleted
* files now so they don't stay around indefinitely. */
ORDERED_HASHMAP_FOREACH(f, j->files) {
r = journal_file_fstat(f);
@@ -566,7 +566,7 @@ static void test_sequence_numbers_one(void) {
if (sd_id128_get_machine(NULL) >= 0) {
two = journal_file_offline_close(two);
/* restart server */
/* emulate a system restart */
seqnum = 0;
ASSERT_OK(journal_file_open(-EBADF, "two.journal", O_RDWR, JOURNAL_COMPRESS, 0,