Browse Source

tweak msync prototype to match header

Mike Frysinger 17 years ago
parent
commit
4b738bd4c1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libpthread/linuxthreads.old/wrapsyscall.c

+ 1 - 1
libpthread/linuxthreads.old/wrapsyscall.c

@@ -98,7 +98,7 @@ CANCELABLE_SYSCALL (off64_t, lseek64, (int fd, off64_t offset, int whence),
 
 #ifdef __NR_msync
 /* msync(2).  */
-CANCELABLE_SYSCALL (int, msync, (__ptr_t addr, size_t length, int flags),
+CANCELABLE_SYSCALL (int, msync, (void *addr, size_t length, int flags),
 		    (addr, length, flags))
 #endif