Skip to content
Browse files

[SIGAR-233] Update sys_info API to recognize MacOSX 10.7 as 'Lion'

  • Loading branch information...
1 parent d832846 commit a04f46a647bf832b36b6bd64ac9922ddf99473b4 @dougm dougm committed Jul 18, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/os/darwin/darwin_sigar.c
View
3 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;

0 comments on commit a04f46a

Please sign in to comment.
Something went wrong with that request. Please try again.