Changeset 25978 in vbox
- Timestamp:
- Jan 22, 2010 4:05:04 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceCpuHotplug.cpp
r25975 r25978 73 73 while (RT_SUCCESS(RTDirRead(pDirDevices, &DirFolderContent, NULL))) /* Assumption that szName has always enough space */ 74 74 { 75 if (!RTStrNCmp( pDirFolderContent->szName, "LNXCPU", 6))75 if (!RTStrNCmp(DirFolderContent.szName, "LNXCPU", 6)) 76 76 { 77 77 char *pszSysDevPath = NULL; … … 184 184 * Prevents error messages later. 185 185 */ 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)) 189 189 { 190 190 char *pszSysDevPath = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.