fs-util: rename laccess to access_nofollow

In order to distinguish it from libc function naming.
This commit is contained in:
Mike Yuan
2024-10-05 01:30:43 +02:00
parent 7c1dd9e288
commit 3f8999a76e
18 changed files with 21 additions and 21 deletions
+1 -1
View File
@@ -743,7 +743,7 @@ _public_ int sd_booted(void) {
/* We test whether the runtime unit file directory has been created. This takes place in mount-setup.c,
* so is guaranteed to happen very early during boot. */
r = laccess("/run/systemd/system/", F_OK);
r = access_nofollow("/run/systemd/system/", F_OK);
if (r >= 0)
return true;
if (r == -ENOENT)