[SIGAR-86] Add options field to sigar_file_system_t
This commit is contained in:
parent
62436ae4a2
commit
dbd9fe3334
|
@ -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;
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue