]> granicus.if.org Git - sysstat/commit
Use statvfs() instead of statfs() system call
authorSebastien GODARD <sysstat@users.noreply.github.com>
Sun, 22 Jun 2014 14:09:18 +0000 (16:09 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Sun, 22 Jun 2014 14:09:18 +0000 (16:09 +0200)
commit0936618a799918422012036aecbf7a2b0ee32354
tree4cbfa5b39b5ab1d3892cf03b3e4edc0d88eca801
parent7605eb568287bbda953005afea5e0d2e1bbb18d6
Use statvfs() instead of statfs() system call

Use statvfs() system call instead of statfs() to get filesystems
statistics with sar since:
1) statfs() has been deprecated by the LSB (useful only to get fs
type which is not needed here),
2) statvfs() better handles large file sizes.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
count.c
rd_stats.c