From: jcg Date: Sun, 20 Nov 2022 06:59:36 +0000 (+0800) Subject: Fix typo X-Git-Tag: v253-rc1~444 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1751bdde94f90391bb31a4a1a30fe74048b26753;p=thirdparty%2Fsystemd.git Fix typo --- diff --git a/src/journal/journald-kmsg.c b/src/journal/journald-kmsg.c index 6c1e7892d1c..10faf2dd06e 100644 --- a/src/journal/journald-kmsg.c +++ b/src/journal/journald-kmsg.c @@ -320,7 +320,7 @@ static int server_read_dev_kmsg(Server *s) { if (l < 0) { /* Old kernels who don't allow reading from /dev/kmsg * return EINVAL when we try. So handle this cleanly, - * but don' try to ever read from it again. */ + * but don't try to ever read from it again. */ if (errno == EINVAL) { s->dev_kmsg_event_source = sd_event_source_unref(s->dev_kmsg_event_source); return 0; diff --git a/src/libsystemd/sd-event/sd-event.c b/src/libsystemd/sd-event/sd-event.c index fa98c8946eb..299a6a2c8ce 100644 --- a/src/libsystemd/sd-event/sd-event.c +++ b/src/libsystemd/sd-event/sd-event.c @@ -3177,7 +3177,7 @@ static int event_arm_timer( assert_se(d->fd >= 0); if (t == 0) { - /* We don' want to disarm here, just mean some time looooong ago. */ + /* We don't want to disarm here, just mean some time looooong ago. */ its.it_value.tv_sec = 0; its.it_value.tv_nsec = 1; } else diff --git a/src/resolve/resolved-dns-scope.c b/src/resolve/resolved-dns-scope.c index b586d2c56f4..e194ef588fa 100644 --- a/src/resolve/resolved-dns-scope.c +++ b/src/resolve/resolved-dns-scope.c @@ -1116,7 +1116,7 @@ DnsTransaction *dns_scope_find_transaction( !(t->query_flags & SD_RESOLVED_NO_CACHE)) continue; - /* If we are asked to clamp ttls an the existing transaction doesn't do it, we can't + /* If we are asked to clamp ttls and the existing transaction doesn't do it, we can't * reuse */ if ((query_flags & SD_RESOLVED_CLAMP_TTL) && !(t->query_flags & SD_RESOLVED_CLAMP_TTL)) diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index bf5192c56fe..f156d90073d 100644 --- a/src/tmpfiles/tmpfiles.c +++ b/src/tmpfiles/tmpfiles.c @@ -1979,7 +1979,7 @@ static int create_fifo(Item *i) { creation = r >= 0 ? CREATION_NORMAL : CREATION_EXISTING; - /* Open the inode via O_PATH, regardless if we managed to create it or not. Maybe it is is already the FIFO we want */ + /* Open the inode via O_PATH, regardless if we managed to create it or not. Maybe it is already the FIFO we want */ fd = openat(pfd, bn, O_NOFOLLOW|O_CLOEXEC|O_PATH); if (fd < 0) { if (r < 0)