1
0
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:
Andreas Schwab
2009-10-30 14:14:31 +01:00
parent 6cfe8609b8
commit de2cc8095b
2 changed files with 5 additions and 1 deletions

View File

@ -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;