diff options
| author | Joseph Myers <joseph@codesourcery.com> | 2009-11-07 13:30:54 +0000 |
|---|---|---|
| committer | Joseph Myers <joseph@codesourcery.com> | 2009-11-07 13:30:54 +0000 |
| commit | 1789cafb5705e51f83cdc2befa74fc9932e77f3c (patch) | |
| tree | 68ce26f55719629cac6ad59729d20d3d64246637 | |
| parent | 86ad0d12e1c7de85ca88c00fb8975b7a56be915e (diff) | |
| download | glibc-1789cafb5705e51f83cdc2befa74fc9932e77f3c.tar.xz glibc-1789cafb5705e51f83cdc2befa74fc9932e77f3c.zip | |
Fix M68K fallocate for -D_FILE_OFFSET_BITS=64.
* sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (fallocate): Fix types
of last two arguments when -D_FILE_OFFSET_BITS=64.
| -rw-r--r-- | ChangeLog.m68k | 5 | ||||
| -rw-r--r-- | sysdeps/unix/sysv/linux/m68k/bits/fcntl.h | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog.m68k b/ChangeLog.m68k index 59be68cc07..6d8c26f038 100644 --- a/ChangeLog.m68k +++ b/ChangeLog.m68k @@ -1,3 +1,8 @@ +2009-11-07 Joseph Myers <joseph@codesourcery.com> + + * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (fallocate): Fix types + of last two arguments when -D_FILE_OFFSET_BITS=64. + 2009-10-30 Joseph Myers <joseph@codesourcery.com> [BZ #10609] diff --git a/sysdeps/unix/sysv/linux/m68k/bits/fcntl.h b/sysdeps/unix/sysv/linux/m68k/bits/fcntl.h index 1e396dcdbb..3d9ef2e577 100644 --- a/sysdeps/unix/sysv/linux/m68k/bits/fcntl.h +++ b/sysdeps/unix/sysv/linux/m68k/bits/fcntl.h @@ -239,8 +239,8 @@ extern ssize_t tee (int __fdin, int __fdout, size_t __len, extern int fallocate (int __fd, int __mode, __off_t __offset, __off_t __len); # else # ifdef __REDIRECT -extern int __REDIRECT (fallocate, (int __fd, int __mode, __off_t __offset, - __off_t __len), +extern int __REDIRECT (fallocate, (int __fd, int __mode, __off64_t __offset, + __off64_t __len), fallocate64); # else # define fallocate fallocate64 |
