[PATCH] printstatfs missing f_flags

enh enh at google.com
Tue Mar 17 21:38:22 UTC 2015


Noticed on aarch64.

diff --git a/statfs.c b/statfs.c
index 6f5e4d3..f1e9fc3 100644
--- a/statfs.c
+++ b/statfs.c
@@ -46,6 +46,9 @@ printstatfs(struct tcb *tcp, const long addr)
 #ifdef _STATFS_F_FRSIZE
  tprintf(", f_frsize=%lu", (unsigned long)statbuf.f_frsize);
 #endif
+#ifdef _STATFS_F_FLAGS
+ tprintf(", f_flags=%lu", (unsigned long)statbuf.f_flags);
+#endif
  tprints("}");
 }




More information about the Strace-devel mailing list