mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
Fix typo in readlinkat
This commit is contained in:
@ -59,7 +59,7 @@ readlinkat (fd, path, buf, len)
|
||||
if (fd != AT_FDCWD && path[0] != '/')
|
||||
{
|
||||
size_t pathlen = strlen (path);
|
||||
if (__builtin_expect (filelen == 0, 0))
|
||||
if (__builtin_expect (pathlen == 0, 0))
|
||||
{
|
||||
__set_errno (ENOENT);
|
||||
return -1;
|
||||
|
Reference in New Issue
Block a user