fadvise.c: replace posix_fadvise64 by equivalent posix_fadvise
PATCH 1/1 fadvise.c: replace posix_fadvise64 by equivalent posix_fadvise
also fixes a compile failure on FreeBSD
Signed-off-by Felix Janda <[email protected]>
---
overlooked this one...
--- io/fadvise.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
io/fadvise.c +1 -1
@@ -103,7 +103,7 @@ fadvise_f(return command_usage (&fadvise_cmd); } -if (posix_fadvise64 (file->fd, offset, length, advise) <0 ) { +if (posix_fadvise (file->fd, offset, length, advise) <0 ) {perror ("fadvise" );return 0 ; }
Signature · 6 lines
2.7.3 _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs