diff options
author | Mike Yuan <me@yhndnzj.com> | 2024-10-05 01:30:43 +0200 |
---|---|---|
committer | Mike Yuan <me@yhndnzj.com> | 2024-10-05 01:30:43 +0200 |
commit | 3f8999a76e1320bfd4e601d4d88635ef026a67e2 (patch) | |
tree | c2fbc79e564a838aa84f930c822482fdc6050509 /src/kernel-install | |
parent | various: correct laccess() error check (diff) | |
download | systemd-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/kernel-install')
-rw-r--r-- | src/kernel-install/kernel-install.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel-install/kernel-install.c b/src/kernel-install/kernel-install.c index bb646515d0..f4f30df07d 100644 --- a/src/kernel-install/kernel-install.c +++ b/src/kernel-install/kernel-install.c @@ -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) |