summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorJonathan Boulle <jonathanboulle@gmail.com>2014-05-23 11:56:42 -0700
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-05-24 19:01:03 -0400
commit865cc19a34cd9a3ff98a7b3754747f4904f56faa (patch)
treed73fc80dc19508dda3e91b9b482eb8a8eda03a6a /src/core
parent623538c3125fd0174513e4ef5b0e6163f4ea41ef (diff)
Fix several small typos
Diffstat (limited to 'src/core')
-rw-r--r--src/core/unit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/unit.c b/src/core/unit.c
index 3f862aa4c4..6e40bc6e9f 100644
--- a/src/core/unit.c
+++ b/src/core/unit.c
@@ -1574,7 +1574,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
+ * UnitActiveState! That means that ns == os is an expected
* behavior here. For example: if a mount point is remounted
* this function will be called too! */
@@ -1597,7 +1597,7 @@ void unit_notify(Unit *u, UnitActiveState os, UnitActiveState ns, bool reload_su
u->active_exit_timestamp = ts;
}
- /* Keep track of failed of units */
+ /* Keep track of failed units */
if (ns == UNIT_FAILED && os != UNIT_FAILED)
set_put(u->manager->failed_units, u);
else if (os == UNIT_FAILED && ns != UNIT_FAILED)
@@ -1722,7 +1722,7 @@ void unit_notify(Unit *u, UnitActiveState os, UnitActiveState ns, bool reload_su
if (UNIT_IS_ACTIVE_OR_RELOADING(ns)) {
if (unit_has_name(u, SPECIAL_DBUS_SERVICE))
- /* The bus just might have become available,
+ /* The bus might have just become available,
* hence try to connect to it, if we aren't
* yet connected. */
bus_init(m, true);