Show f_flags field in printstatfs
printstatfs64 was right, but printstatfs was missing f_flags. Noticed on aarch64. * statfs.c (printstatfs) [_STATFS_F_FLAGS]: Print statfs.f_flags. Signed-off-by: Elliott Hughes <enh@google.com>
This commit is contained in:
parent
68804b3267
commit
1b5b5670eb
3
statfs.c
3
statfs.c
@ -45,6 +45,9 @@ printstatfs(struct tcb *tcp, const long addr)
|
||||
tprintf(", f_namelen=%lu", (unsigned long)statbuf.f_namelen);
|
||||
#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("}");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user