xfs
[Top] [All Lists]

Re: [PATCH] xfstests: fix nr of args in open calls

To: Eric Sandeen <sandeen@xxxxxxxxxxx>
Subject: Re: [PATCH] xfstests: fix nr of args in open calls
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Sat, 25 Oct 2008 16:17:15 -0400
Cc: xfs-oss <xfs@xxxxxxxxxxx>
In-reply-to: <49036961.8070100@xxxxxxxxxxx>
References: <49036961.8070100@xxxxxxxxxxx>
User-agent: Mutt/1.5.18 (2008-05-17)
On Sat, Oct 25, 2008 at 01:45:53PM -0500, Eric Sandeen wrote:
> --- xfstests.orig/ltp/iogen.c
> +++ xfstests/ltp/iogen.c
> @@ -1060,7 +1060,11 @@ int    nbytes;
>  
>      Oflags |= O_CREAT | O_WRONLY;
>  
> +#ifdef CRAY
>      if ((fd = open(path, Oflags, 0666, Ocbits, Ocblks)) == -1) {
> +#else
> +    if ((fd = open(path, Oflags, 0666)) == -1) {
> +#endif

Do we really need that ifdef cray here?

<Prev in Thread] Current Thread [Next in Thread>