diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-04-15 17:10:28 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-04-15 17:10:28 +0000 |
commit | e775ec11c449ab573ad4357b6e48a9aada983e0f (patch) | |
tree | 9f5c1d88323fc38dfbd812c7b66de815382f2327 /sysdeps/unix/sysv/linux/wordsize-64 | |
parent | 6a3d03ff58742430a252beac4a1917506512e319 (diff) | |
download | glibc-e775ec11c449ab573ad4357b6e48a9aada983e0f.tar.gz |
* sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.cvs/fedora-glibc-20090416T0610
Diffstat (limited to 'sysdeps/unix/sysv/linux/wordsize-64')
-rw-r--r-- | sysdeps/unix/sysv/linux/wordsize-64/fallocate.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/wordsize-64/fallocate.c b/sysdeps/unix/sysv/linux/wordsize-64/fallocate.c index 0eabab9781..3e8954f0b7 100644 --- a/sysdeps/unix/sysv/linux/wordsize-64/fallocate.c +++ b/sysdeps/unix/sysv/linux/wordsize-64/fallocate.c @@ -25,6 +25,11 @@ int fallocate (int fd, int mode, __off_t offset, __off_t len) { +#ifdef __NR_fallocate return INLINE_SYSCALL (fallocate, 4, fd, mode, offset, len); +#else + __set_errno (ENOSYS); + return -1; +#endif } strong_alias (fallocate, fallocate64) |