X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Ftest%2Ftest-path-lookup.c;h=a951b01b9753764c91d0e21826dd833893947581;hb=113b3fc1a8061f4a24dd0db74e9a3cd0083b2251;hp=a6ce8c9d8d2b54549bbb594d1951a5fda0955f2c;hpb=4f1a33dd0d62171bbeac74859642b8ff0ab547b8;p=elogind.git diff --git a/src/test/test-path-lookup.c b/src/test/test-path-lookup.c index a6ce8c9d8..a951b01b9 100644 --- a/src/test/test-path-lookup.c +++ b/src/test/test-path-lookup.c @@ -20,7 +20,6 @@ ***/ #include -#include #include "path-lookup.h" #include "log.h" @@ -33,9 +32,9 @@ static void test_paths(SystemdRunningAs running_as, bool personal) { char *exists, *not; assert_se(mkdtemp(template)); - exists = strappenda(template, "/exists"); + exists = strjoina(template, "/exists"); assert_se(mkdir(exists, 0755) == 0); - not = strappenda(template, "/not"); + not = strjoina(template, "/not"); assert_se(lookup_paths_init(&lp, running_as, personal, NULL, exists, not, not) == 0);