ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libeio/eio.c
(Generate patch)

Comparing libeio/eio.c (file contents):
Revision 1.83 by root, Thu Jul 7 22:36:18 2011 UTC vs.
Revision 1.84 by root, Thu Jul 7 22:39:56 2011 UTC

949 * call fdatasync, as that matches the expectation of its users best */ 949 * call fdatasync, as that matches the expectation of its users best */
950 return fdatasync (fd); 950 return fdatasync (fd);
951} 951}
952 952
953static int 953static int
954eio__fallocate (int fd, int mode, off_t offset, size_t nbytes) 954eio__fallocate (int fd, int mode, off_t offset, size_t len)
955{ 955{
956#if HAVE_FALLOCATE 956#if HAVE_FALLOCATE
957 return fallocate (fd, offset, nbytes, flags); 957 return fallocate (fd, mode, offset, len);
958#else 958#else
959 errno = ENOSYS; 959 errno = ENOSYS;
960 return -1; 960 return -1;
961#endif 961#endif
962} 962}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines