VirtualBox

Changeset 25978 in vbox


Ignore:
Timestamp:
Jan 22, 2010 4:05:04 PM (15 years ago)
Author:
vboxsync
Message:

Build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceCpuHotplug.cpp

    r25975 r25978  
    7373        while (RT_SUCCESS(RTDirRead(pDirDevices, &DirFolderContent, NULL))) /* Assumption that szName has always enough space */
    7474        {
    75             if (!RTStrNCmp(pDirFolderContent->szName, "LNXCPU", 6))
     75            if (!RTStrNCmp(DirFolderContent.szName, "LNXCPU", 6))
    7676            {
    7777                char *pszSysDevPath = NULL;
     
    184184                     *  Prevents error messages later.
    185185                     */
    186                     if(   !RTStrNCmp(pDirFolderContent->szName, "cpu", 3)
    187                         && RTStrNCmp(pDirFolderConten->szName, "cpu0", 4)
    188                         && RTStrNCmp(pDirFolderConten->szName, "cpuidle", 7))
     186                    if(   !RTStrNCmp(DirFolderContent.szName, "cpu", 3)
     187                        && RTStrNCmp(DirFolderConten.szName, "cpu0", 4)
     188                        && RTStrNCmp(DirFolderConten.szName, "cpuidle", 7))
    189189                    {
    190190                        char *pszSysDevPath = NULL;
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