[PATCH] Add support for statfs64.f_flags
Andreas Schwab
schwab at linux-m68k.org
Tue Jan 17 22:56:53 UTC 2012
* 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("}");
}
--
1.7.8.3
--
Andreas Schwab, schwab at linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Strace-devel
mailing list