]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tree-wide: fix typo
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 26 Oct 2023 03:42:49 +0000 (12:42 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 26 Oct 2023 03:42:49 +0000 (12:42 +0900)
src/journal/journald-rate-limit.c
src/tmpfiles/tmpfiles.c

index 65fbe400a8f866702a9b55c05fa3bcc0bdda6a96..1028e386890ab918d8d82b46341459d751aeeb5c 100644 (file)
@@ -115,8 +115,7 @@ static bool journal_ratelimit_group_expired(JournalRateLimitGroup *g, usec_t ts)
 static void journal_ratelimit_vacuum(JournalRateLimit *r, usec_t ts) {
         assert(r);
 
-        /* Makes room for at least one new item, but drop all
-         * expored items too. */
+        /* Makes room for at least one new item, but drop all expired items too. */
 
         while (r->n_groups >= GROUPS_MAX ||
                (r->lru_tail && journal_ratelimit_group_expired(r->lru_tail, ts)))
index e1416b2cebdb32f4f892b3a3e90ba1aa1244b46b..e18f5bd7645bf84e2f3456c39b02eac92d3e8be8 100644 (file)
@@ -640,7 +640,7 @@ static int dir_cleanup(
                  * we have modern statx() we use it instead of fstat() and do proper mount point checks,
                  * while on older kernels's well do traditional st_dev based detection of mount points.
                  *
-                 * Using statx() for detecting mount points also has the benfit that we handle weird file
+                 * Using statx() for detecting mount points also has the benefit that we handle weird file
                  * systems such as overlayfs better where each file is originating from a different
                  * st_dev. */