| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH xfsprogs] fadvise.c: replace posix_fadvise64 by equivalent posix_fadvise |
| From: | Felix Janda <felix.janda@xxxxxxxxx> |
| Date: | Tue, 9 Aug 2016 20:06:05 +0200 |
| Delivered-to: | xfs@xxxxxxxxxxx |
| User-agent: | Mutt/1.6.1 (2016-04-27) |
also fixes a compile failure on FreeBSD
Signed-off-by: Felix Janda <felix.janda@xxxxxxxxx>
---
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCHv2 xfsprogs 13/14] xfs.h: require transparent LFS, Felix Janda |
|---|---|
| Next by Date: | Re: Advice needed with file system corruption, Dave Chinner |
| Previous by Thread: | Vacaciona en Puerto Vallarta, Franco Aros |
| Next by Thread: | Stay Cool With Us - Automatic car sunshade, a@xxxxxxxxx |
| Indexes: | [Date] [Thread] [Top] [All Lists] |