2002-11-04 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
authorroland <roland>
Tue, 5 Nov 2002 03:02:03 +0000 (03:02 +0000)
committerroland <roland>
Tue, 5 Nov 2002 03:02:03 +0000 (03:02 +0000)
* sysdeps/unix/sysv/linux/pwrite.c: Fix typo.
* sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/pread.c: Handle both __NR_pread64
and __NR_pread.
* sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/pwrite.c: Handle both __NR_pwrite64
and __NR_pwrite.
* sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.

sysdeps/unix/sysv/linux/pwrite.c
sysdeps/unix/sysv/linux/pwrite64.c

index 45fca41..13bbc76 100644 (file)
@@ -32,7 +32,7 @@
 # ifdef __NR_pwrite
 #  error "__NR_pwrite and __NR_pwrite64 both defined???"
 # endif
-# define __NR_pwrite __NR_pread64
+# define __NR_pwrite __NR_pwrite64
 #endif
 
 #if defined __NR_pwrite || __ASSUME_PWRITE_SYSCALL > 0
index ef72364..dc81cd6 100644 (file)
@@ -31,7 +31,7 @@
 # ifdef __NR_pwrite
 #  error "__NR_pwrite and __NR_pwrite64 both defined???"
 # endif
-# define __NR_pwrite __NR_pread64
+# define __NR_pwrite __NR_pwrite64
 #endif
 
 #if defined __NR_pwrite || __ASSUME_PWRITE_SYSCALL > 0