diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2002-05-06 20:29:29 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2002-05-06 20:29:29 +0000 |
commit | f78e59a8f90f72609c153d4db493c2d43e6ca379 (patch) | |
tree | 82fe59427bc672bc7d8f63a86a0515ae4be18fef /newlib/libc/sys/linux/pread64.c | |
parent | a9917779940a314185fa33c177a45fd12502935c (diff) | |
download | cygnal-f78e59a8f90f72609c153d4db493c2d43e6ca379.tar.gz cygnal-f78e59a8f90f72609c153d4db493c2d43e6ca379.tar.bz2 cygnal-f78e59a8f90f72609c153d4db493c2d43e6ca379.zip |
2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
* libc/unix/pread.c: Fix typo for _pread_r.
* libc/unix/pwrite.c: Fix type for _pwrite_r.
* libc/sys/linux/pread64.c: Fix typo for read syscall.
* libc/sys/linux/pwrite64.c: Fix typo for write syscall.
Diffstat (limited to 'newlib/libc/sys/linux/pread64.c')
-rw-r--r-- | newlib/libc/sys/linux/pread64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/sys/linux/pread64.c b/newlib/libc/sys/linux/pread64.c index c6d15f91d..c6273f3c9 100644 --- a/newlib/libc/sys/linux/pread64.c +++ b/newlib/libc/sys/linux/pread64.c @@ -29,7 +29,7 @@ RETURNS PORTABILITY <<pread64>> is an EL/IX extension. -Supporting OS subroutine required: <<read64>>, <<lseek64>>. +Supporting OS subroutine required: <<read>>, <<lseek64>>. */ #include <_ansi.h> @@ -52,7 +52,7 @@ _DEFUN (pread64, (fd, buf, n, off), if (lseek64 (fd, off, SEEK_SET) == (loff_t)-1) return -1; - num_read = read64 (fd, buf, n); + num_read = read (fd, buf, n); if (lseek64 (fd, cur_pos, SEEK_SET) == (loff_t)-1) return -1; |