summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2012-09-04 19:24:16 +0200
committerLennart Poettering <lennart@poettering.net>2012-09-13 19:34:24 +0200
commitc53158818d8cdaf46b3f1b5299b9bda118a1043f (patch)
tree3ebddf2e2fd9d3280d59d80e382d83a0042a5706 /src/core
parentff89a42a8602443b9a74be276cf3ee351b3914c7 (diff)
man: fix a bunch of typos in docs
https://bugs.freedesktop.org/show_bug.cgi?id=54501
Diffstat (limited to 'src/core')
-rw-r--r--src/core/dbus-unit.c2
-rw-r--r--src/core/transaction.c2
-rw-r--r--src/core/unit.c2
-rw-r--r--src/core/unit.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/core/dbus-unit.c b/src/core/dbus-unit.c
index ad817d7ee8..fdfa5ee200 100644
--- a/src/core/dbus-unit.c
+++ b/src/core/dbus-unit.c
@@ -682,7 +682,7 @@ void bus_unit_send_change_signal(Unit *u) {
/* Send a properties changed signal. First for the
* specific type, then for the generic unit. The
* clients may rely on this order to get atomic
- * behaviour if needed. */
+ * behavior if needed. */
if (UNIT_VTABLE(u)->bus_invalidating_properties) {
diff --git a/src/core/transaction.c b/src/core/transaction.c
index 1f8d803aeb..4bce942012 100644
--- a/src/core/transaction.c
+++ b/src/core/transaction.c
@@ -392,7 +392,7 @@ static int transaction_verify_order_one(Transaction *tr, Job *j, Job *from, unsi
j->marker = from ? from : j;
j->generation = generation;
- /* We assume that the the dependencies are bidirectional, and
+ /* We assume that the dependencies are bidirectional, and
* hence can ignore UNIT_AFTER */
SET_FOREACH(u, j->unit->dependencies[UNIT_BEFORE], i) {
Job *o;
diff --git a/src/core/unit.c b/src/core/unit.c
index c9cd9ee2a0..3950c43f5e 100644
--- a/src/core/unit.c
+++ b/src/core/unit.c
@@ -1327,7 +1327,7 @@ void unit_notify(Unit *u, UnitActiveState os, UnitActiveState ns, bool reload_su
/* Note that this is called for all low-level state changes,
* even if they might map to the same high-level
* UnitActiveState! That means that ns == os is OK an expected
- * behaviour here. For example: if a mount point is remounted
+ * behavior here. For example: if a mount point is remounted
* this function will be called too! */
if (u->manager->n_reloading <= 0) {
diff --git a/src/core/unit.h b/src/core/unit.h
index 89bd61c2d8..5b4dda4cb0 100644
--- a/src/core/unit.h
+++ b/src/core/unit.h
@@ -285,7 +285,7 @@ struct UnitVTable {
* UNIT_STUB if no configuration could be found. */
int (*load)(Unit *u);
- /* If a a lot of units got created via enumerate(), this is
+ /* If a lot of units got created via enumerate(), this is
* where to actually set the state and call unit_notify(). */
int (*coldplug)(Unit *u);