From: Felix Janda <felix.janda@posteo.de>
To: xfs@oss.sgi.com
Subject: [PATCH xfsprogs] fadvise.c: replace posix_fadvise64 by equivalent posix_fadvise
Date: Tue, 9 Aug 2016 20:06:05 +0200 [thread overview]
Message-ID: <20160809180605.GA7664@nyan> (raw)
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
reply other threads:[~2016-08-09 18:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160809180605.GA7664@nyan \
--to=felix.janda@posteo.de \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox