summaryrefslogtreecommitdiff
path: root/src/core/load-dropin.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/load-dropin.c
parent184850e8a741beb795f6ea66091f3fb176fce880 (diff)
util: rename join() to strjoin()
This is to match strappend() and the other string related functions.
Diffstat (limited to 'src/core/load-dropin.c')
-rw-r--r--src/core/load-dropin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/load-dropin.c b/src/core/load-dropin.c
index 4323147a01..86f81c7484 100644
--- a/src/core/load-dropin.c
+++ b/src/core/load-dropin.c
@@ -51,7 +51,7 @@ static int iterate_dir(Unit *u, const char *path, UnitDependency dependency) {
if (ignore_file(de->d_name))
continue;
- f = join(path, "/", de->d_name, NULL);
+ f = strjoin(path, "/", de->d_name, NULL);
if (!f) {
r = -ENOMEM;
goto finish;
@@ -80,7 +80,7 @@ static int process_dir(Unit *u, const char *unit_path, const char *name, const c
assert(name);
assert(suffix);
- path = join(unit_path, "/", name, suffix, NULL);
+ path = strjoin(unit_path, "/", name, suffix, NULL);
if (!path)
return -ENOMEM;
@@ -102,7 +102,7 @@ static int process_dir(Unit *u, const char *unit_path, const char *name, const c
if (!template)
return -ENOMEM;
- path = join(unit_path, "/", template, suffix, NULL);
+ path = strjoin(unit_path, "/", template, suffix, NULL);
free(template);
if (!path)