diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-05-23 23:53:43 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-06-21 19:29:44 +0200 |
commit | ab5c3e3ff172e7dc295d3022170ee6a3be062a3f (patch) | |
tree | 4ece493a6c88b60bcb12733c6076ea78a8376f38 /src/unit.c | |
parent | fb19a739d528651e6c78e198269ae856192ffc68 (diff) |
english: s/_per_/_by_/
Diffstat (limited to 'src/unit.c')
-rw-r--r-- | src/unit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unit.c b/src/unit.c index 9bb4e56073..057431c808 100644 --- a/src/unit.c +++ b/src/unit.c @@ -159,7 +159,7 @@ int unit_add_name(Unit *u, const char *text) { u->meta.id = s; u->meta.instance = i; - LIST_PREPEND(Meta, units_per_type, u->meta.manager->units_per_type[t], &u->meta); + LIST_PREPEND(Meta, units_by_type, u->meta.manager->units_by_type[t], &u->meta); if (UNIT_VTABLE(u)->init) UNIT_VTABLE(u)->init(u); @@ -354,7 +354,7 @@ void unit_free(Unit *u) { bidi_set_free(u, u->meta.dependencies[d]); if (u->meta.type != _UNIT_TYPE_INVALID) - LIST_REMOVE(Meta, units_per_type, u->meta.manager->units_per_type[u->meta.type], &u->meta); + LIST_REMOVE(Meta, units_by_type, u->meta.manager->units_by_type[u->meta.type], &u->meta); if (u->meta.in_load_queue) LIST_REMOVE(Meta, load_queue, u->meta.manager->load_queue, &u->meta); |