add sys_info.description

This commit is contained in:
Doug MacEachern 2006-09-25 00:23:22 +00:00
parent ce9fca8609
commit 73225803b4
1 changed files with 3 additions and 0 deletions

View File

@ -2779,5 +2779,8 @@ int sigar_os_sys_info_get(sigar_t *sigar,
SIGAR_SSTRCPY(sysinfo->patch_level,
version.szCSDVersion);
sprintf(sysinfo->description, "%s %s",
sysinfo->vendor, sysinfo->vendor_name);
return SIGAR_OK;
}