diff options
author | trasz <trasz@FreeBSD.org> | 2017-03-19 10:39:59 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2017-03-19 10:39:59 +0000 |
commit | f05779b20a3d5d6ef045649262cb0a49d51c3382 (patch) | |
tree | a5d948b0368e306dd7449336a27f8a9f624be4b9 /sys/amd64/linux32 | |
parent | cd301e942ff181c5cb7cc42ff3ca75799bca9b66 (diff) | |
download | FreeBSD-src-f05779b20a3d5d6ef045649262cb0a49d51c3382.zip FreeBSD-src-f05779b20a3d5d6ef045649262cb0a49d51c3382.tar.gz |
MFC r314282:
Fix linux_fstatfs() to return proper value for f_frsize. Without it,
linux df(1) binary from Xenial shows garbage.
Diffstat (limited to 'sys/amd64/linux32')
-rw-r--r-- | sys/amd64/linux32/linux.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/amd64/linux32/linux.h b/sys/amd64/linux32/linux.h index 687f8e8..29f83a3 100644 --- a/sys/amd64/linux32/linux.h +++ b/sys/amd64/linux32/linux.h @@ -250,7 +250,9 @@ struct l_statfs64 { uint64_t f_ffree; l_fsid_t f_fsid; l_int f_namelen; - l_int f_spare[6]; + l_int f_frsize; + l_int f_flags; + l_int f_spare[4]; } __packed; /* sigaction flags */ |