summaryrefslogtreecommitdiff
path: root/eio.c
diff options
context:
space:
mode:
Diffstat (limited to 'eio.c')
-rw-r--r--eio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eio.c b/eio.c
index 3f926a0..91c188f 100644
--- a/eio.c
+++ b/eio.c
@@ -951,10 +951,10 @@ eio__sync_file_range (int fd, off_t offset, size_t nbytes, unsigned int flags)
}
static int
-eio__fallocate (int fd, int mode, off_t offset, size_t nbytes)
+eio__fallocate (int fd, int mode, off_t offset, size_t len)
{
#if HAVE_FALLOCATE
- return fallocate (fd, offset, nbytes, flags);
+ return fallocate (fd, mode, offset, len);
#else
errno = ENOSYS;
return -1;