From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (Postfix) with ESMTP id 5C7DD7CA2 for ; Tue, 9 Aug 2016 13:07:00 -0500 (CDT) Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by relay2.corp.sgi.com (Postfix) with ESMTP id 1EF96304048 for ; Tue, 9 Aug 2016 11:06:57 -0700 (PDT) Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.66]) by cuda.sgi.com with ESMTP id E2hz358YVFpzbLbD (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 09 Aug 2016 11:06:54 -0700 (PDT) Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 58D1420464 for ; Tue, 9 Aug 2016 20:06:53 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3s82Km6c5Jzydk for ; Tue, 9 Aug 2016 20:06:52 +0200 (CEST) Date: Tue, 9 Aug 2016 20:06:05 +0200 From: Felix Janda Subject: [PATCH xfsprogs] fadvise.c: replace posix_fadvise64 by equivalent posix_fadvise Message-ID: <20160809180605.GA7664@nyan> MIME-Version: 1.0 Content-Disposition: inline List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: xfs@oss.sgi.com also fixes a compile failure on FreeBSD Signed-off-by: Felix Janda --- 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