summaryrefslogtreecommitdiff
path: root/src/unit.c
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2011-02-21 15:32:17 +0100
committerLennart Poettering <lennart@poettering.net>2011-02-28 22:47:38 +0100
commit35b8ca3aaf8cb044ad76675dfcad89e000dd4a5c (patch)
treec2cb5f22b38ea29d99e80df50f7b098f9020f1c4 /src/unit.c
parenta9bd141b4a144d8da062f9f8fa13869bba0c7bce (diff)
Spelling Corrections
Just some lame spelling corrections with no functionality.
Diffstat (limited to 'src/unit.c')
-rw-r--r--src/unit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unit.c b/src/unit.c
index d75a06afc8..359cb2d084 100644
--- a/src/unit.c
+++ b/src/unit.c
@@ -736,7 +736,7 @@ int unit_add_default_target_dependency(Unit *u, Unit *target) {
if (target->meta.type != UNIT_TARGET)
return 0;
- /* Only add the dependency if boths units are loaded, so that
+ /* Only add the dependency if both units are loaded, so that
* that loop check below is reliable */
if (u->meta.load_state != UNIT_LOADED ||
target->meta.load_state != UNIT_LOADED)
@@ -1124,7 +1124,7 @@ void unit_notify(Unit *u, UnitActiveState os, UnitActiveState ns, bool reload_su
job_add_to_run_queue(u->meta.job);
/* Let's check whether this state change constitutes a
- * finished job, or maybe cotradicts a running job and
+ * finished job, or maybe contradicts a running job and
* hence needs to invalidate jobs. */
switch (u->meta.job->type) {