X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Ftest%2Ftest-path-util.c;fp=src%2Ftest%2Ftest-path-util.c;h=19462c357183cd3563916a63d997aea18fb341e5;hb=c8b32e11ee24a333f8f7c7c15226741d22e55fdd;hp=4ee33a9543f46302b16a733acd5a5a244d8c176e;hpb=2de61bbebfe6a1a97709b3277b150cacc30a79cd;p=elogind.git diff --git a/src/test/test-path-util.c b/src/test/test-path-util.c index 4ee33a954..19462c357 100644 --- a/src/test/test-path-util.c +++ b/src/test/test-path-util.c @@ -58,7 +58,7 @@ static void test_path(void) { assert_se(streq(basename("file.../"), "")); #define test_parent(x, y) { \ - char _cleanup_free_ *z = NULL; \ + _cleanup_free_ char *z = NULL; \ int r = path_get_parent(x, &z); \ printf("expected: %s\n", y ? y : "error"); \ printf("actual: %s\n", r<0 ? "error" : z); \