fix compile

This commit is contained in:
Doug MacEachern 2007-11-07 06:52:23 +00:00
parent 77a9528f91
commit 8176b390fa
4 changed files with 4 additions and 4 deletions

View File

@ -1679,7 +1679,7 @@ int sigar_file_system_usage_get(sigar_t *sigar,
fsusage->disk_write_bytes = SIGAR_FIELD_NOTIMPL;
fsusage->disk_queue = SIGAR_FIELD_NOTIMPL;
#else
SIGAR_DISK_STATS_INIT(&fsusage->disk)
SIGAR_DISK_STATS_INIT(&fsusage->disk);
#endif
return SIGAR_OK;

View File

@ -612,7 +612,7 @@ int sigar_file_system_usage_get(sigar_t *sigar,
fsusage->free_files = buf.f_ffree;
fsusage->use_percent = sigar_file_system_usage_calc_used(sigar, fsusage);
SIGAR_DISK_STATS_INIT(&fsusage->disk)
SIGAR_DISK_STATS_INIT(&fsusage->disk);
if (!sigar->fsdev) {
if (create_fsdev_cache(sigar) != SIGAR_OK) {

View File

@ -341,7 +341,7 @@ int sigar_file_system_usage_get(sigar_t *sigar,
fsusage->free_files = buf.f_ffree;
fsusage->use_percent = sigar_file_system_usage_calc_used(sigar, fsusage);
SIGAR_DISK_STATS_INIT(&fsusage->disk)
SIGAR_DISK_STATS_INIT(&fsusage->disk);
return SIGAR_OK;
}

View File

@ -204,7 +204,7 @@ int sigar_file_system_usage_get(sigar_t *sigar,
fsusage->used = -1;
fsusage->files = -1;
fsusage->free_files = -1;
SIGAR_DISK_STATS_INIT(&fsusage->disk)
SIGAR_DISK_STATS_INIT(&fsusage->disk);
return SIGAR_OK;
}