From 37b42c179bb00d05cb47c739cb95283548f84fb2 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 30 May 2022 19:51:44 +0000 Subject: Add openc_*at functions Signed-off-by: Laurent Bercot --- src/libunixonacid/access_at.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libunixonacid/access_at.c') diff --git a/src/libunixonacid/access_at.c b/src/libunixonacid/access_at.c index ebe6dd7..69fdce4 100644 --- a/src/libunixonacid/access_at.c +++ b/src/libunixonacid/access_at.c @@ -34,7 +34,7 @@ int access_at (int dirfd, char const *file, int amode, unsigned int flag) if (getuid() != geteuid() || getgid() != getegid()) return (errno = ENOSYS, -1) ; (void)flag ; - fdhere = open_read(".") ; + fdhere = openc_read(".") ; if (fdhere < 0) return -1 ; if (fd_chdir(dirfd) < 0) { -- cgit v1.2.3