about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/fallocate64.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-04-15 17:10:28 +0000
committerUlrich Drepper <drepper@redhat.com>2009-04-15 17:10:28 +0000
commite775ec11c449ab573ad4357b6e48a9aada983e0f (patch)
tree9f5c1d88323fc38dfbd812c7b66de815382f2327 /sysdeps/unix/sysv/linux/fallocate64.c
parent6a3d03ff58742430a252beac4a1917506512e319 (diff)
downloadglibc-e775ec11c449ab573ad4357b6e48a9aada983e0f.tar.gz
glibc-e775ec11c449ab573ad4357b6e48a9aada983e0f.tar.xz
glibc-e775ec11c449ab573ad4357b6e48a9aada983e0f.zip
* sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise. cvs/fedora-glibc-20090416T0610
Diffstat (limited to 'sysdeps/unix/sysv/linux/fallocate64.c')
-rw-r--r--sysdeps/unix/sysv/linux/fallocate64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/fallocate64.c b/sysdeps/unix/sysv/linux/fallocate64.c
index 2fbe988910..ebcaf671b3 100644
--- a/sysdeps/unix/sysv/linux/fallocate64.c
+++ b/sysdeps/unix/sysv/linux/fallocate64.c
@@ -25,7 +25,7 @@
 int
 __fallocate64_l64 (int fd, int mode, __off64_t offset, __off64_t len)
 {
-#ifndef __NR_fallocate
+#ifdef __NR_fallocate
   return INLINE_SYSCALL (fallocate, 6, fd, mode,
 			 __LONG_LONG_PAIR ((long int) (offset >> 32),
 					   (long int) offset),