summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/s6-rc/s6-rc-compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/s6-rc/s6-rc-compile.c b/src/s6-rc/s6-rc-compile.c
index 63dd82c..cca081d 100644
--- a/src/s6-rc/s6-rc-compile.c
+++ b/src/s6-rc/s6-rc-compile.c
@@ -446,7 +446,7 @@ static inline void add_longrun (before_t *be, int dirfd, char const *srcdir, cha
genalloc_setlen(unsigned int, &be->indices, relatedindex) ;
}
}
- else if (faccessat(dirfd, "pipeline-name", F_OK, 0) < 0)
+ else if (access_at(dirfd, "pipeline-name", F_OK, 0) < 0)
{
if (errno != ENOENT)
strerr_diefu5sys(111, "access ", srcdir, "/", name, "/pipeline-name") ;