]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fix typo in log
authorj00512545 <jiangchuangang@huawei.com>
Thu, 15 Sep 2022 14:10:33 +0000 (22:10 +0800)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 15 Sep 2022 15:46:04 +0000 (17:46 +0200)
src/core/service.c
src/libsystemd/sd-event/sd-event.c

index 8dd147ad1ee0c5216dc86d347486c8f7032057b8..6ceb0a20578f59197f9c17ea149594fd72e24347 100644 (file)
@@ -272,7 +272,7 @@ static void service_extend_event_source_timeout(Service *s, sd_event_source *sou
         if (r < 0) {
                 const char *desc;
                 (void) sd_event_source_get_description(s->timer_event_source, &desc);
-                log_unit_warning_errno(UNIT(s), r, "Failed to set timeout time for even source '%s', ignoring %m", strna(desc));
+                log_unit_warning_errno(UNIT(s), r, "Failed to set timeout time for event source '%s', ignoring %m", strna(desc));
         }
 }
 
index b3b3d0b4d641c9999989dd42ba31ba4dbeb46438..6f99c5f0cd57bcd3a46ad7ddc4d8223c40d43219 100644 (file)
@@ -3823,7 +3823,7 @@ static void event_close_inode_data_fds(sd_event *e) {
 
         /* Close the fds pointing to the inodes to watch now. We need to close them as they might otherwise pin
          * filesystems. But we can't close them right-away as we need them as long as the user still wants to make
-         * adjustments to the even source, such as changing the priority (which requires us to remove and re-add a watch
+         * adjustments to the event source, such as changing the priority (which requires us to remove and re-add a watch
          * for the inode). Hence, let's close them when entering the first iteration after they were added, as a
          * compromise. */