diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-06-16 14:01:55 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-06-16 14:01:55 +0200 |
commit | 18c78fb1af5415bb6f87d9c7cae1f9c60e14ae24 (patch) | |
tree | 4ac546279d28fff34a11ad5d43dfd4b73fa6f087 /src/path.c | |
parent | 8c47c7325fa1ab72febf807f8831ff24c75fbf45 (diff) |
typo: the correct spelling is maintenance not maintainance
Diffstat (limited to 'src/path.c')
-rw-r--r-- | src/path.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/path.c b/src/path.c index b40a8297ff..8a940d0262 100644 --- a/src/path.c +++ b/src/path.c @@ -34,7 +34,7 @@ static const UnitActiveState state_translation_table[_PATH_STATE_MAX] = { [PATH_DEAD] = UNIT_INACTIVE, [PATH_WAITING] = UNIT_ACTIVE, [PATH_RUNNING] = UNIT_ACTIVE, - [PATH_MAINTAINANCE] = UNIT_INACTIVE + [PATH_MAINTENANCE] = UNIT_INACTIVE }; static void path_done(Unit *u) { @@ -290,7 +290,7 @@ static void path_enter_dead(Path *p, bool success) { if (!success) p->failure = true; - path_set_state(p, p->failure ? PATH_MAINTAINANCE : PATH_DEAD); + path_set_state(p, p->failure ? PATH_MAINTENANCE : PATH_DEAD); } static void path_enter_running(Path *p) { @@ -363,7 +363,7 @@ static int path_start(Unit *u) { Path *p = PATH(u); assert(p); - assert(p->state == PATH_DEAD || p->state == PATH_MAINTAINANCE); + assert(p->state == PATH_DEAD || p->state == PATH_MAINTENANCE); if (p->unit->meta.load_state != UNIT_LOADED) return -ENOENT; @@ -540,7 +540,7 @@ static const char* const path_state_table[_PATH_STATE_MAX] = { [PATH_DEAD] = "dead", [PATH_WAITING] = "waiting", [PATH_RUNNING] = "running", - [PATH_MAINTAINANCE] = "maintainance" + [PATH_MAINTENANCE] = "maintenance" }; DEFINE_STRING_TABLE_LOOKUP(path_state, PathState); |