VirtualBox

Changeset 25979 in vbox for trunk/src/VBox/Additions/common


Ignore:
Timestamp:
Jan 22, 2010 4:17:43 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
56844
Message:

Another build fix

File:
1 edited

Legend:

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

    r25978 r25979  
    7878
    7979                /* Get the sysdev */
    80                 rc = RTStrAPrintf(&pszSysDevPath, "%s/%s", SYSFS_ACPI_CPU_PATH, pDirFolderContent->szName);
     80                rc = RTStrAPrintf(&pszSysDevPath, "%s/%s", SYSFS_ACPI_CPU_PATH, DirFolderContent.szName);
    8181                if (RT_SUCCESS(rc))
    8282                {
     
    185185                     */
    186186                    if(   !RTStrNCmp(DirFolderContent.szName, "cpu", 3)
    187                         && RTStrNCmp(DirFolderConten.szName, "cpu0", 4)
    188                         && RTStrNCmp(DirFolderConten.szName, "cpuidle", 7))
     187                        && RTStrNCmp(DirFolderContent.szName, "cpu0", 4)
     188                        && RTStrNCmp(DirFolderContent.szName, "cpuidle", 7))
    189189                    {
    190190                        char *pszSysDevPath = NULL;
    191191
    192192                        /* Get the sysdev */
    193                         rc = RTStrAPrintf(&pszSysDevPath, "%s/%s/online", SYSFS_CPU_PATH, pDirFolderContent->szName);
     193                        rc = RTStrAPrintf(&pszSysDevPath, "%s/%s/online", SYSFS_CPU_PATH, DirFolderContent.szName);
    194194                        if (RT_SUCCESS(rc))
    195195                        {
Note: See TracChangeset for help on using the changeset viewer.

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