[SIGAR-233] Update sys_info API to recognize MacOSX 10.7 as 'Lion'
This commit is contained in:
parent
d83284613b
commit
a04f46a647
|
@ -3484,6 +3484,9 @@ int sigar_os_sys_info_get(sigar_t *sigar,
|
||||||
case 6:
|
case 6:
|
||||||
codename = "Snow Leopard";
|
codename = "Snow Leopard";
|
||||||
break;
|
break;
|
||||||
|
case 7:
|
||||||
|
codename = "Lion";
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
codename = "Unknown";
|
codename = "Unknown";
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue