]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Fix typo
authorjcg <jiangchuangang@huawei.com>
Sun, 20 Nov 2022 06:59:36 +0000 (14:59 +0800)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 25 Nov 2022 22:35:56 +0000 (07:35 +0900)
src/journal/journald-kmsg.c
src/libsystemd/sd-event/sd-event.c
src/resolve/resolved-dns-scope.c
src/tmpfiles/tmpfiles.c

index 6c1e7892d1cb2b4f3810dd86bd80b9da1bcc85a5..10faf2dd06e475f6c6f4cb72f1c206fb975af21a 100644 (file)
@@ -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;
index fa98c8946ebe72e8e3676df097ffd1296148bd89..299a6a2c8ceb1f4c8bba79d55cea27e6f5423a00 100644 (file)
@@ -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
index b586d2c56f42210071d8f2ed99384f190633f31b..e194ef588fa68bd9ea771c0714b115d176bb730c 100644 (file)
@@ -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))
index bf5192c56fecc716a21585c06f4158dc6455402f..f156d90073dc27557648ce4e5b6868303614207c 100644 (file)
@@ -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)