* [PATCH xfsprogs] fadvise.c: replace posix_fadvise64 by equivalent posix_fadvise
@ 2016-08-09 18:06 Felix Janda
0 siblings, 0 replies; only message in thread
From: Felix Janda @ 2016-08-09 18:06 UTC (permalink / raw)
To: xfs
also fixes a compile failure on FreeBSD
Signed-off-by: Felix Janda <felix.janda@posteo.de>
---
overlooked this one...
---
io/fadvise.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/io/fadvise.c b/io/fadvise.c
index d59d1ff..46174f3 100644
--- a/io/fadvise.c
+++ b/io/fadvise.c
@@ -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;
}
--
2.7.3
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-08-09 18:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-09 18:06 [PATCH xfsprogs] fadvise.c: replace posix_fadvise64 by equivalent posix_fadvise Felix Janda
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox