Blame SOURCES/0017-Show-f_flags-field-in-printstatfs.patch
|
|
09a367 |
From 1b5b5670eb17787fa1c2e7d34a722b7330e2d78b Mon Sep 17 00:00:00 2001
|
|
|
09a367 |
From: Elliott Hughes <enh@google.com>
|
|
|
09a367 |
Date: Tue, 17 Mar 2015 16:00:31 -0700
|
|
|
09a367 |
Subject: [PATCH 17/68] Show f_flags field in printstatfs
|
|
|
09a367 |
|
|
|
09a367 |
printstatfs64 was right, but printstatfs was missing f_flags.
|
|
|
09a367 |
Noticed on aarch64.
|
|
|
09a367 |
|
|
|
09a367 |
* statfs.c (printstatfs) [_STATFS_F_FLAGS]: Print statfs.f_flags.
|
|
|
09a367 |
|
|
|
09a367 |
Signed-off-by: Elliott Hughes <enh@google.com>
|
|
|
09a367 |
---
|
|
|
09a367 |
statfs.c | 3 +++
|
|
|
09a367 |
1 file changed, 3 insertions(+)
|
|
|
09a367 |
|
|
|
09a367 |
diff --git a/statfs.c b/statfs.c
|
|
|
09a367 |
index 6f5e4d3..f1e9fc3 100644
|
|
|
09a367 |
--- a/statfs.c
|
|
|
09a367 |
+++ b/statfs.c
|
|
|
09a367 |
@@ -46,6 +46,9 @@ printstatfs(struct tcb *tcp, const long addr)
|
|
|
09a367 |
#ifdef _STATFS_F_FRSIZE
|
|
|
09a367 |
tprintf(", f_frsize=%lu", (unsigned long)statbuf.f_frsize);
|
|
|
09a367 |
#endif
|
|
|
09a367 |
+#ifdef _STATFS_F_FLAGS
|
|
|
09a367 |
+ tprintf(", f_flags=%lu", (unsigned long)statbuf.f_flags);
|
|
|
09a367 |
+#endif
|
|
|
09a367 |
tprints("}");
|
|
|
09a367 |
}
|
|
|
09a367 |
|
|
|
09a367 |
--
|
|
|
09a367 |
2.3.5
|
|
|
09a367 |
|