about summary refs log tree commit diff
path: root/posix/bits/unistd.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-03-07 00:02:03 +0000
committerUlrich Drepper <drepper@redhat.com>2005-03-07 00:02:03 +0000
commit20981676ad10f5d0d60eec38111e07b1bdb30b15 (patch)
tree801106223f1ba8f8a13f37a49e89f996995b39a8 /posix/bits/unistd.h
parent84c33ccbbe045d3b074d63504b4d5fad4dc253e6 (diff)
downloadglibc-20981676ad10f5d0d60eec38111e07b1bdb30b15.tar.gz
glibc-20981676ad10f5d0d60eec38111e07b1bdb30b15.tar.xz
glibc-20981676ad10f5d0d60eec38111e07b1bdb30b15.zip
* posix/bits/unistd.h (pread): Fix typo in __USE_FILE_OFFSET64 code.
Diffstat (limited to 'posix/bits/unistd.h')
-rw-r--r--posix/bits/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/bits/unistd.h b/posix/bits/unistd.h
index 0a391cfb51..26cb6641e9 100644
--- a/posix/bits/unistd.h
+++ b/posix/bits/unistd.h
@@ -39,7 +39,7 @@ extern ssize_t __pread64_chk (int __fd, void *__buf, size_t __nbytes,
   (__bos0 (buf) != (size_t) -1						      \
    && (!__builtin_constant_p (nbytes) || (nbytes) > __bos0 (buf))	      \
    ? __pread64_chk (fd, buf, nbytes, offset, __bos0 (buf))		      \
-   : pread (fd, buf, nbytes, offset))
+   : pread64 (fd, buf, nbytes, offset))
 # else
 #  define pread(fd, buf, nbytes, offset) \
   (__bos0 (buf) != (size_t) -1						      \