From f0b2767b75f31e04f2c22260b857595f081e748d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 26 May 2000 19:55:51 +0000 Subject: Update. * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code was switched. --- sysdeps/unix/sysv/linux/pread64.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sysdeps/unix/sysv') diff --git a/sysdeps/unix/sysv/linux/pread64.c b/sysdeps/unix/sysv/linux/pread64.c index 628fd430fb..1bf08dc878 100644 --- a/sysdeps/unix/sysv/linux/pread64.c +++ b/sysdeps/unix/sysv/linux/pread64.c @@ -48,13 +48,13 @@ __libc_pread64 (fd, buf, count, offset) /* First try the syscall. */ # if __BYTE_ORDER == __LITTLE_ENDIAN - result = INLINE_SYSCALL (pread, 5, fd, buf, count, - (off_t) (offset >> 32), - (off_t) (offset & 0xffffffff)); -# elif __BYTE_ORDER == __BIG_ENDIAN result = INLINE_SYSCALL (pread, 5, fd, buf, count, (off_t) (offset & 0xffffffff), (off_t) (offset >> 32)); +# elif __BYTE_ORDER == __BIG_ENDIAN + result = INLINE_SYSCALL (pread, 5, fd, buf, count, + (off_t) (offset >> 32), + (off_t) (offset & 0xffffffff)); # endif # if __ASSUME_PREAD_SYSCALL == 0 -- cgit 1.4.1