X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Ftest%2Ftest-path-lookup.c;h=38e5c93df6c3804ec1df425e2f20d4d3edc26022;hp=a6ce8c9d8d2b54549bbb594d1951a5fda0955f2c;hb=63c372cb9df3bee01e3bf8cd7f96f336bddda846;hpb=4f1a33dd0d62171bbeac74859642b8ff0ab547b8 diff --git a/src/test/test-path-lookup.c b/src/test/test-path-lookup.c index a6ce8c9d8..38e5c93df 100644 --- a/src/test/test-path-lookup.c +++ b/src/test/test-path-lookup.c @@ -33,9 +33,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);