summaryrefslogtreecommitdiffstats
path: root/src/home
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2024-10-05 01:30:43 +0200
committerMike Yuan <me@yhndnzj.com>2024-10-05 01:30:43 +0200
commit3f8999a76e1320bfd4e601d4d88635ef026a67e2 (patch)
treec2fbc79e564a838aa84f930c822482fdc6050509 /src/home
parentvarious: correct laccess() error check (diff)
downloadsystemd-3f8999a76e1320bfd4e601d4d88635ef026a67e2.tar.xz
systemd-3f8999a76e1320bfd4e601d4d88635ef026a67e2.zip
fs-util: rename laccess to access_nofollow
In order to distinguish it from libc function naming.
Diffstat (limited to 'src/home')
-rw-r--r--src/home/homework-luks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/home/homework-luks.c b/src/home/homework-luks.c
index 8ab8dd8cbd..7c3be8dd9a 100644
--- a/src/home/homework-luks.c
+++ b/src/home/homework-luks.c
@@ -1997,7 +1997,7 @@ static int wait_for_devlink(const char *path) {
_cleanup_free_ char *dn = NULL;
usec_t w;
- r = laccess(path, F_OK);
+ r = access_nofollow(path, F_OK);
if (r >= 0)
return 0; /* Found it */
if (r != -ENOENT)