chiark / gitweb /
util: rework strappenda(), and rename it strjoina()
[elogind.git] / src / test / test-namespace.c
index 084a58f3aa108dc6361cc8da9ea282f41cbccf0e..2397db5fffe40afaa1afe142763c72b90101b0b5 100644 (file)
@@ -42,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);