fix darwin compile

This commit is contained in:
Doug MacEachern 2005-12-02 02:32:07 +00:00
parent e0bc9674b5
commit b228641334
1 changed files with 1 additions and 1 deletions

View File

@ -1399,7 +1399,7 @@ int sigar_cpu_info_list_get(sigar_t *sigar,
#ifdef DARWIN
{
int mib[] = { CTL_HW, HW_L2CACHESIZE }; / * in bytes */
int mib[] = { CTL_HW, HW_L2CACHESIZE }; /* in bytes */
size = sizeof(cache_size);
if (sysctl(mib, NMIB(mib), &cache_size, &size, NULL, 0) < 0) {
cache_size = SIGAR_FIELD_NOTIMPL;