diff options
Diffstat (limited to 'src/test/test-path-util.c')
-rw-r--r-- | src/test/test-path-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-path-util.c b/src/test/test-path-util.c index 4ee33a9543..19462c3571 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); \ |