diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-07-13 13:41:01 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-07-13 13:41:01 +0200 |
commit | b7def684941808600c344f0be7a2b9fcdda97e0f (patch) | |
tree | d28516d55a035ae9f754cb21e6d97eb3d0e21e27 /src/shared/unit-name.c | |
parent | 184850e8a741beb795f6ea66091f3fb176fce880 (diff) |
util: rename join() to strjoin()
This is to match strappend() and the other string related functions.
Diffstat (limited to 'src/shared/unit-name.c')
-rw-r--r-- | src/shared/unit-name.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/unit-name.c b/src/shared/unit-name.c index 3e437b77a1..fcf5902c78 100644 --- a/src/shared/unit-name.c +++ b/src/shared/unit-name.c @@ -208,7 +208,7 @@ char *unit_name_build(const char *prefix, const char *instance, const char *suff if (!instance) return strappend(prefix, suffix); - return join(prefix, "@", instance, suffix, NULL); + return strjoin(prefix, "@", instance, suffix, NULL); } static char *do_escape_char(char c, char *t) { @@ -425,7 +425,7 @@ char *unit_name_from_path_instance(const char *prefix, const char *path, const c if (!p) return NULL; - r = join(prefix, "@", p, suffix, NULL); + r = strjoin(prefix, "@", p, suffix, NULL); free(p); return r; |