Changeset 25979 in vbox for trunk/src/VBox/Additions/common
- Timestamp:
- Jan 22, 2010 4:17:43 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 56844
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceCpuHotplug.cpp
r25978 r25979 78 78 79 79 /* 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); 81 81 if (RT_SUCCESS(rc)) 82 82 { … … 185 185 */ 186 186 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)) 189 189 { 190 190 char *pszSysDevPath = NULL; 191 191 192 192 /* 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); 194 194 if (RT_SUCCESS(rc)) 195 195 {
Note:
See TracChangeset
for help on using the changeset viewer.