From 1bd0cefcab937140a07acf0a3ee528a4900e3072 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Thu, 26 Oct 2023 12:42:49 +0900 Subject: [PATCH] tree-wide: fix typo --- src/journal/journald-rate-limit.c | 3 +-- src/tmpfiles/tmpfiles.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/journal/journald-rate-limit.c b/src/journal/journald-rate-limit.c index 65fbe400a8f..1028e386890 100644 --- a/src/journal/journald-rate-limit.c +++ b/src/journal/journald-rate-limit.c @@ -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))) diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index e1416b2cebd..e18f5bd7645 100644 --- a/src/tmpfiles/tmpfiles.c +++ b/src/tmpfiles/tmpfiles.c @@ -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. */ -- 2.47.3