Changeset 48813 in vbox
- Timestamp:
- Oct 2, 2013 9:36:59 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/solaris/mp-solaris.cpp
r48812 r48813 436 436 kstat_named_t *pStat = (kstat_named_t *)kstat_data_lookup(g_papCpuInfo[idCpu], (char *)"state"); 437 437 Assert(pStat->data_type == KSTAT_DATA_CHAR); 438 if( !RTStrNCmp(pStat->value.c, PS_ONLINE, sizeof(PS_ONLINE) )439 || !RTStrNCmp(pStat->value.c, PS_NOINTR, sizeof(PS_NOINTR) ))438 if( !RTStrNCmp(pStat->value.c, PS_ONLINE, sizeof(PS_ONLINE) - 1) 439 || !RTStrNCmp(pStat->value.c, PS_NOINTR, sizeof(PS_NOINTR) - 1)) 440 440 { 441 441 uOnlineCores++;
Note:
See TracChangeset
for help on using the changeset viewer.