]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sd-journal: update comments
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 15 May 2026 06:04:02 +0000 (15:04 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 15 May 2026 06:04:02 +0000 (15:04 +0900)
src/libsystemd/sd-journal/sd-journal.c
src/libsystemd/sd-journal/test-journal-interleaving.c

index 52b3e616a172edadc7ff1c0d064ecb269cbbd816..01bca7e82a19e2fc40a1d6de0ec761bd454f1eae 100644 (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);
index 5cf65d89ed95de8567b98c0905d0cad5015f664b..df5605f1bcbd9eab6623cb55cad4406125035aee 100644 (file)
@@ -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,