diff --git a/src/basic/chase.c b/src/basic/chase.c index b1e27b48c1..a0edb7e11c 100644 --- a/src/basic/chase.c +++ b/src/basic/chase.c @@ -267,7 +267,7 @@ int chaseat(int dir_fd, const char *path, ChaseFlags flags, char **ret_path, int return -ENOMEM; /* Two dots? Then chop off the last bit of what we already found out. */ - if (path_equal(first, "..")) { + if (streq(first, "..")) { _cleanup_free_ char *parent = NULL; _cleanup_close_ int fd_parent = -EBADF; struct stat st_parent;