[SIGAR-86] Add options field to sigar_file_system_t
This commit is contained in:
1 parent
109c1a4c69
commit
f51eac00b2
6 files changed
+17
No files matched your search
@@ -1205,6 +1205,7 @@ int sigar_file_system_list_get(sigar_t *sigar,
|
||||
SIGAR_SSTRCPY(fsp->dir_name, ent.mnt_dir);
|
||||
SIGAR_SSTRCPY(fsp->dev_name, ent.mnt_fsname);
|
||||
SIGAR_SSTRCPY(fsp->sys_type_name, ent.mnt_type);
|
||||
SIGAR_SSTRCPY(fsp->options, ent.mnt_opts);
|
||||
sigar_fs_type_get(fsp);
|
||||
}
|
||||
|
||||
|
||||
@@ -1348,6 +1348,7 @@ int sigar_file_system_list_get(sigar_t *sigar,
|
||||
SIGAR_SSTRCPY(fsp->dir_name, ent.mnt_mountp);
|
||||
SIGAR_SSTRCPY(fsp->dev_name, ent.mnt_special);
|
||||
SIGAR_SSTRCPY(fsp->sys_type_name, ent.mnt_fstype);
|
||||
SIGAR_SSTRCPY(fsp->options, ent.mnt_mntopts);
|
||||
sigar_fs_type_init(fsp);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user