summaryrefslogtreecommitdiff
path: root/src/core/unit.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-07-13 13:41:01 +0200
committerLennart Poettering <lennart@poettering.net>2012-07-13 13:41:01 +0200
commitb7def684941808600c344f0be7a2b9fcdda97e0f (patch)
treed28516d55a035ae9f754cb21e6d97eb3d0e21e27 /src/core/unit.c
parent184850e8a741beb795f6ea66091f3fb176fce880 (diff)
util: rename join() to strjoin()
This is to match strappend() and the other string related functions.
Diffstat (limited to 'src/core/unit.c')
-rw-r--r--src/core/unit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/unit.c b/src/core/unit.c
index 37711afeaf..516f4fad8b 100644
--- a/src/core/unit.c
+++ b/src/core/unit.c
@@ -1891,10 +1891,10 @@ static char *default_cgroup_path(Unit *u) {
if (!t)
return NULL;
- p = join(u->manager->cgroup_hierarchy, "/", t, "/", u->instance, NULL);
+ p = strjoin(u->manager->cgroup_hierarchy, "/", t, "/", u->instance, NULL);
free(t);
} else
- p = join(u->manager->cgroup_hierarchy, "/", u->id, NULL);
+ p = strjoin(u->manager->cgroup_hierarchy, "/", u->id, NULL);
return p;
}