VirtualBox

Changeset 46668 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Jun 19, 2013 3:41:05 PM (12 years ago)
Author:
vboxsync
Message:

Runtime/r3/darwin/mp-darwin: fixed typo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/darwin/mp-darwin.cpp

    r44528 r46668  
    9898        PROCESSOR_BASIC_INFO, &nCpus, (processor_info_array_t*)&pinfo, &count);
    9999    AssertReturn (krc == KERN_SUCCESS, true);
    100     bool isOnline = idCpu < nCpus ? pinfo[idCpu].running : true;
     100    bool isOnline = idCpu < nCpus ? pinfo[idCpu].running : false;
    101101    vm_deallocate(mach_task_self(), (vm_address_t)pinfo, count * sizeof(*pinfo));
    102102    return isOnline;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette