[SIGAR-86] Add options field to sigar_file_system_t

This commit is contained in:
Doug MacEachern 2008-02-11 05:11:27 +00:00
parent 62436ae4a2
commit dbd9fe3334
2 changed files with 2 additions and 0 deletions

View File

@ -309,6 +309,7 @@ int sigar_file_system_list_get(sigar_t *sigar,
} }
SIGAR_SSTRCPY(fsp->sys_type_name, type); SIGAR_SSTRCPY(fsp->sys_type_name, type);
fsp->options[0] = '\0'; /*XXX*/
} }
return SIGAR_OK; return SIGAR_OK;

View File

@ -391,6 +391,7 @@ int sigar_file_system_list_get(sigar_t *sigar,
SIGAR_SSTRCPY(fsp->dir_name, fs[i].f_mntonname); SIGAR_SSTRCPY(fsp->dir_name, fs[i].f_mntonname);
SIGAR_SSTRCPY(fsp->dev_name, fs[i].f_mntfromname); SIGAR_SSTRCPY(fsp->dev_name, fs[i].f_mntfromname);
SIGAR_SSTRCPY(fsp->sys_type_name, mnt_names[fs[i].f_type]); SIGAR_SSTRCPY(fsp->sys_type_name, mnt_names[fs[i].f_type]);
fsp->options[0] = '\0'; /*XXX*/
switch (fs[i].f_type) { switch (fs[i].f_type) {
case MOUNT_UFS: case MOUNT_UFS: