Changeset 10445 in vbox for trunk/src/VBox/Runtime/r3/linux
- Timestamp:
- Jul 9, 2008 6:21:07 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 33111
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/linux/mp-linux.cpp
r10442 r10445 254 254 char *psz = NULL; 255 255 RTCPUID idCpuFound = NIL_RTCPUID; 256 uint32_t freq = 0; 256 257 while (fgets(sz, sizeof(sz), f)) 257 258 { … … 275 276 int rc = RTStrToInt64Ex(psz, &psz, 0, &v); 276 277 if (RT_SUCCESS(rc)) 277 return v; 278 { 279 freq = v; 280 break; 281 } 278 282 } 279 283 } 280 return 0; 284 fclose(f); 285 return freq; 281 286 } 282 287
Note:
See TracChangeset
for help on using the changeset viewer.