diff options
author | Andreas Schwab <schwab@redhat.com> | 2009-10-30 14:14:31 +0100 |
---|---|---|
committer | Andreas Schwab <schwab@redhat.com> | 2009-10-30 14:18:18 +0100 |
commit | de2cc8095bf7fa4202d0d4c038c8be61dc60fd41 (patch) | |
tree | 43a4c1b4710df582c8d7931db9f5ab73e047e93d /sysdeps | |
parent | 6cfe8609b890f33e6c7235549cb02c3c6a0f3820 (diff) | |
download | glibc-de2cc8095bf7fa4202d0d4c038c8be61dc60fd41.tar.gz glibc-de2cc8095bf7fa4202d0d4c038c8be61dc60fd41.tar.xz glibc-de2cc8095bf7fa4202d0d4c038c8be61dc60fd41.zip |
Fix typo in readlinkat
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/readlinkat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/readlinkat.c b/sysdeps/unix/sysv/linux/readlinkat.c index 1e9a9b649f..55abff143d 100644 --- a/sysdeps/unix/sysv/linux/readlinkat.c +++ b/sysdeps/unix/sysv/linux/readlinkat.c @@ -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; |