fix file_system_usage.free_files

This commit is contained in:
Doug MacEachern 2005-11-28 15:41:32 +00:00
parent 14677ee1b8
commit f448844f87
1 changed files with 1 additions and 1 deletions

View File

@ -1420,7 +1420,7 @@ int sigar_file_system_usage_get(sigar_t *sigar,
fsusage->avail = SIGAR_FS_BLOCKS_TO_BYTES(buf, f_bavail);
fsusage->used = fsusage->total - fsusage->free;
fsusage->files = buf.f_files;
fsusage->free_files = buf.f_files;
fsusage->free_files = buf.f_ffree;
fsusage->use_percent = sigar_file_system_usage_calc_used(sigar, fsusage);
SIGAR_DISK_STATS_NOTIMPL(fsusage);