From a04f46a647bf832b36b6bd64ac9922ddf99473b4 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Mon, 18 Jul 2011 10:50:53 -0700 Subject: [PATCH] [SIGAR-233] Update sys_info API to recognize MacOSX 10.7 as 'Lion' --- src/os/darwin/darwin_sigar.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/os/darwin/darwin_sigar.c b/src/os/darwin/darwin_sigar.c index 811a8cb3..7c0cd23f 100644 --- a/src/os/darwin/darwin_sigar.c +++ b/src/os/darwin/darwin_sigar.c @@ -3484,6 +3484,9 @@ int sigar_os_sys_info_get(sigar_t *sigar, case 6: codename = "Snow Leopard"; break; + case 7: + codename = "Lion"; + break; default: codename = "Unknown"; break;