fs-util: rename laccess to access_nofollow
In order to distinguish it from libc function naming.
This commit is contained in:
@@ -52,7 +52,7 @@ static int check_device(const char *path) {
|
||||
assert(path);
|
||||
|
||||
if (arg_wait_until == WAIT_UNTIL_REMOVED) {
|
||||
r = laccess(path, F_OK);
|
||||
r = access_nofollow(path, F_OK);
|
||||
if (r == -ENOENT)
|
||||
return true;
|
||||
if (r < 0)
|
||||
|
||||
Reference in New Issue
Block a user