diff options
author | James Clarke <jrtc27@jrtc27.com> | 2017-10-07 18:53:20 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-10-30 15:30:59 +0100 |
commit | d1535216ca27047e3962d61b975bd2a638aa45a2 (patch) | |
tree | 05a51eabd29d6db7c0885e798c05d43195f186ac /libbb/safe_gethostname.c | |
parent | 24e17b43858e165ba8384e2aa7403cecd899ad2d (diff) | |
download | busybox-d1535216ca27047e3962d61b975bd2a638aa45a2.tar.gz |
df: Use statvfs instead of non-standard statfs
Platforms differ on what their implementations of statfs include.
Importantly, FreeBSD's does not include a f_frsize member inside struct
statfs. However, statvfs is specified by POSIX and includes everything
we need, so we can just use that instead.
Signed-off-by: James Clarke <jrtc27@jrtc27.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/safe_gethostname.c')
0 files changed, 0 insertions, 0 deletions