summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-06-22 20:02:46 +0200
committerGitHub <noreply@github.com>2019-06-22 20:02:46 +0200
commitcee97d57687e93e07a8ee36edf0e0d0f3317fccc (patch)
tree7278ba990e750ae119cacfd6c19a0866579374ab /src/libsystemd/sd-bus
parent4c1567f29aeb60a6741874bca8a8e3a0bd69ed01 (diff)
parenta13de89d361e830f603f25011896e94d5256299d (diff)
downloadsystemd-cee97d57687e93e07a8ee36edf0e0d0f3317fccc.tar.gz
Merge pull request #12836 from yuwata/tree-wide-replace-strjoin
tree-wide: replace strjoin() with path_join()
Diffstat (limited to 'src/libsystemd/sd-bus')
-rw-r--r--src/libsystemd/sd-bus/sd-bus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libsystemd/sd-bus/sd-bus.c b/src/libsystemd/sd-bus/sd-bus.c
index 1c25ba9dea..978a505610 100644
--- a/src/libsystemd/sd-bus/sd-bus.c
+++ b/src/libsystemd/sd-bus/sd-bus.c
@@ -36,6 +36,7 @@
#include "memory-util.h"
#include "missing.h"
#include "parse-util.h"
+#include "path-util.h"
#include "process-util.h"
#include "string-util.h"
#include "strv.h"
@@ -3756,7 +3757,7 @@ _public_ int sd_bus_path_encode(const char *prefix, const char *external_id, cha
if (!e)
return -ENOMEM;
- ret = strjoin(prefix, "/", e);
+ ret = path_join(prefix, e);
if (!ret)
return -ENOMEM;