summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@inai.de>2023-03-07 12:51:31 +0100
committerJan Engelhardt <jengelh@inai.de>2023-03-07 13:39:31 +0100
commit18fe76eba59dc494597b07e0114899b69f92cc12 (patch)
tree82311e185b54ab6f69cc3ac7784fb23b8a11dcdd /src
parente6faa51a8498b36953620a37bab3ce009353c21a (diff)
downloadsystemd-18fe76eba59dc494597b07e0114899b69f92cc12.tar.gz
doc: correct wrong use "'s" contractions
Diffstat (limited to 'src')
-rw-r--r--src/basic/chase-symlinks.c2
-rw-r--r--src/core/job.c2
-rw-r--r--src/core/unit.c2
-rw-r--r--src/home/homed-manager.c2
-rw-r--r--src/shared/bus-unit-util.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/basic/chase-symlinks.c b/src/basic/chase-symlinks.c
index 8a769e08e8..f134d36925 100644
--- a/src/basic/chase-symlinks.c
+++ b/src/basic/chase-symlinks.c
@@ -135,7 +135,7 @@ int chase_symlinks_at(
* Algorithmically this operates on two path buffers: "done" are the components of the path we
* already processed and resolved symlinks, "." and ".." of. "todo" are the components of the path we
* still need to process. On each iteration, we move one component from "todo" to "done", processing
- * it's special meaning each time. We always keep an O_PATH fd to the component we are currently
+ * its special meaning each time. We always keep an O_PATH fd to the component we are currently
* processing, thus keeping lookup races to a minimum.
*
* Suggested usage: whenever you want to canonicalize a path, use this function. Pass the absolute
diff --git a/src/core/job.c b/src/core/job.c
index 032554a0ac..334fbf770e 100644
--- a/src/core/job.c
+++ b/src/core/job.c
@@ -1001,7 +1001,7 @@ int job_finish_and_invalidate(Job *j, JobResult result, bool recursive, bool alr
}
/* A special check to make sure we take down anything RequisiteOf= if we aren't active. This is when
- * the verify-active job merges with a satisfying job type, and then loses it's invalidation effect,
+ * the verify-active job merges with a satisfying job type, and then loses its invalidation effect,
* as the result there is JOB_DONE for the start job we merged into, while we should be failing the
* depending job if the said unit isn't in fact active. Oneshots are an example of this, where going
* directly from activating to inactive is success.
diff --git a/src/core/unit.c b/src/core/unit.c
index a67dceb31f..f5544cbd92 100644
--- a/src/core/unit.c
+++ b/src/core/unit.c
@@ -905,7 +905,7 @@ static int unit_reserve_dependencies(Unit *u, Unit *other) {
/* Let's reserve some space in the dependency hashmaps so that later on merging the units cannot
* fail.
*
- * First make some room in the per dependency type hashmaps. Using the summed size of both unit's
+ * First make some room in the per dependency type hashmaps. Using the summed size of both units'
* hashmaps is an estimate that is likely too high since they probably use some of the same
* types. But it's never too low, and that's all we need. */
diff --git a/src/home/homed-manager.c b/src/home/homed-manager.c
index 76b038cadd..84b5618671 100644
--- a/src/home/homed-manager.c
+++ b/src/home/homed-manager.c
@@ -1626,7 +1626,7 @@ void manager_revalidate_image(Manager *m, Home *h) {
assert(h);
/* Frees an automatically discovered image, if it's synthetic and its image disappeared. Unmounts any
- * image if it's mounted but it's image vanished. */
+ * image if it's mounted but its image vanished. */
if (h->current_operation || !ordered_set_isempty(h->pending_operations))
return;
diff --git a/src/shared/bus-unit-util.c b/src/shared/bus-unit-util.c
index badd61656c..6966cfd838 100644
--- a/src/shared/bus-unit-util.c
+++ b/src/shared/bus-unit-util.c
@@ -2757,7 +2757,7 @@ int unit_load_state(sd_bus *bus, const char *name, char **load_state) {
if (!path)
return log_oom();
- /* This function warns on it's own, because otherwise it'd be awkward to pass
+ /* This function warns on its own, because otherwise it'd be awkward to pass
* the dbus error message around. */
r = sd_bus_get_property_string(