X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Ftest%2Ftest-namespace.c;h=2397db5fffe40afaa1afe142763c72b90101b0b5;hb=adfe5671ef794099068038dfccbf1eb5134433c8;hp=e74fd0c88a53251cd7c0bef76752ac9475db403a;hpb=3d94f76c99da13e5603831d0b278f8c8c21bcb02;p=elogind.git diff --git a/src/test/test-namespace.c b/src/test/test-namespace.c index e74fd0c88..2397db5ff 100644 --- a/src/test/test-namespace.c +++ b/src/test/test-namespace.c @@ -19,7 +19,6 @@ along with systemd; If not, see . ***/ -#include #include #include "namespace.h" @@ -43,8 +42,8 @@ static void test_tmpdir(const char *id, const char *A, const char *B) { assert_se((x.st_mode & 01777) == 0700); assert_se((y.st_mode & 01777) == 0700); - c = strappenda(a, "/tmp"); - d = strappenda(b, "/tmp"); + c = strjoina(a, "/tmp"); + d = strjoina(b, "/tmp"); assert_se(stat(c, &x) >= 0); assert_se(stat(d, &y) >= 0);