From f448844f87cd1eb909901732f537d6f912d7be7f Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Mon, 28 Nov 2005 15:41:32 +0000 Subject: [PATCH] fix file_system_usage.free_files --- src/os/solaris/solaris_sigar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/solaris/solaris_sigar.c b/src/os/solaris/solaris_sigar.c index a471a90e..d6062db3 100644 --- a/src/os/solaris/solaris_sigar.c +++ b/src/os/solaris/solaris_sigar.c @@ -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);