1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

* sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.

This commit is contained in:
Ulrich Drepper
2009-04-15 17:10:28 +00:00
parent 6a3d03ff58
commit e775ec11c4
4 changed files with 8 additions and 2 deletions

View File

@ -25,7 +25,7 @@
int
fallocate (int fd, int mode, __off_t offset, __off_t len)
{
#ifndef __NR_fallocate
#ifdef __NR_fallocate
return INLINE_SYSCALL (fallocate, 6, fd, mode,
__LONG_LONG_PAIR (offset >> 31, offset),
__LONG_LONG_PAIR (len >> 31, len));