Skip to contentSkip to conversation

fadvise.c: replace posix_fadvise64 by equivalent posix_fadvise

PATCH New Felix Janda 1 participant 1 message Aug 9, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fadvise.c: replace posix_fadvise64 by equivalent posix_fadvise

also fixes a compile failure on FreeBSD

---
overlooked this one...

---
 io/fadvise.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
io/fadvise.c +1 -1
index d59d1ff..46174f3 100644
@@ -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