diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-05-22 12:42:36 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-05-22 12:42:36 -0700 |
commit | 31a39bd8410d366ee03b9e48e9d56b8099868f26 (patch) | |
tree | b6f5d441be492ed6c4560ead4395f2824f6026a5 /sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c | |
parent | 45470df3787aa9e97db24635b8b33066531430ad (diff) | |
download | glibc-31a39bd8410d366ee03b9e48e9d56b8099868f26.tar.gz glibc-31a39bd8410d366ee03b9e48e9d56b8099868f26.tar.xz glibc-31a39bd8410d366ee03b9e48e9d56b8099868f26.zip |
Add INTERNAL_SYSCALL_TYPES
Diffstat (limited to 'sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c b/sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c index 906b5c2281..f79142283f 100644 --- a/sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c +++ b/sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c @@ -38,7 +38,13 @@ posix_fallocate (int fd, __off_t offset, __off_t len) # endif { INTERNAL_SYSCALL_DECL (err); +# ifdef INTERNAL_SYSCALL_TYPES + int res = INTERNAL_SYSCALL_TYPES (fallocate, err, 4, int, fd, + int, 0, off_t, offset, + off_t, len); +# else int res = INTERNAL_SYSCALL (fallocate, err, 4, fd, 0, offset, len); +# endif if (! INTERNAL_SYSCALL_ERROR_P (res, err)) return 0; |