On Tue, Jan 17, 2012 at 11:56:53PM +0100, Andreas Schwab wrote:
> * file.c (printstatfs64): Print f_flags if available.
> ---
>  file.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/file.c b/file.c
> index 4e62c2c..473e6fd 100644
> --- a/file.c
> +++ b/file.c
> @@ -1788,6 +1788,9 @@ printstatfs64(struct tcb *tcp, long addr)
>  #ifdef _STATFS_F_FRSIZE
>       tprintf(", f_frsize=%llu", (unsigned long long)statbuf.f_frsize);
>  #endif
> +#ifdef _STATFS_F_FLAGS
> +     tprintf(", f_flags=%llu", (unsigned long long)statbuf.f_flags);
> +#endif
>       tprints("}");
>  }

OK for me.


-- 
ldv

Attachment: pgpbVEmmi6nzt.pgp
Description: PGP signature

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to