mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-13 00:30:07 +00:00
Fix typo in readlinkat
This commit is contained in:
parent
6cfe8609b8
commit
de2cc8095b
@ -1,3 +1,7 @@
|
||||
2009-10-30 Andreas Schwab <schwab@redhat.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/readlinkat.c: Fix last change.
|
||||
|
||||
2009-10-28 Roland McGrath <roland@redhat.com>
|
||||
|
||||
* Makefile (dist-prepare): New target.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user