add sys_info.description
This commit is contained in:
parent
ce9fca8609
commit
73225803b4
@ -2779,5 +2779,8 @@ int sigar_os_sys_info_get(sigar_t *sigar,
|
|||||||
SIGAR_SSTRCPY(sysinfo->patch_level,
|
SIGAR_SSTRCPY(sysinfo->patch_level,
|
||||||
version.szCSDVersion);
|
version.szCSDVersion);
|
||||||
|
|
||||||
|
sprintf(sysinfo->description, "%s %s",
|
||||||
|
sysinfo->vendor, sysinfo->vendor_name);
|
||||||
|
|
||||||
return SIGAR_OK;
|
return SIGAR_OK;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user