fs-util: rename laccess to access_nofollow
In order to distinguish it from libc function naming.
This commit is contained in:
@@ -1110,7 +1110,7 @@ static int kernel_from_version(const char *version, char **ret_kernel) {
|
||||
if (!vmlinuz)
|
||||
return log_oom();
|
||||
|
||||
r = laccess(vmlinuz, F_OK);
|
||||
r = access_nofollow(vmlinuz, F_OK);
|
||||
if (r == -ENOENT)
|
||||
return log_error_errno(r, "Kernel image not installed to '%s', requiring manual kernel image path specification.", vmlinuz);
|
||||
if (r < 0)
|
||||
|
||||
Reference in New Issue
Block a user