Changeset 48020 in vbox for trunk/src/VBox
- Timestamp:
- Aug 23, 2013 12:02:42 PM (11 years ago)
- Location:
- trunk/src/VBox/Main/src-server/solaris
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/solaris/NetIf-solaris.cpp
r48016 r48020 86 86 } 87 87 88 kstat_t *ksAdapter = kstat_lookup(kc, "link", -1, (char *)name);88 kstat_t *ksAdapter = kstat_lookup(kc, (char *)"link", -1, (char *)name); 89 89 if (ksAdapter == 0) 90 90 { 91 91 char szModule[KSTAT_STRLEN]; 92 92 uint32_t uInstance = getInstance(name, szModule); 93 ksAdapter = kstat_lookup(kc, szModule, uInstance, "phys");93 ksAdapter = kstat_lookup(kc, szModule, uInstance, (char *)"phys"); 94 94 if (ksAdapter == 0) 95 95 ksAdapter = kstat_lookup(kc, szModule, uInstance, (char*)name); -
trunk/src/VBox/Main/src-server/solaris/PerformanceSolaris.cpp
r48009 r48020 385 385 AssertReturn(strlen(name) < KSTAT_STRLEN, VERR_INVALID_PARAMETER); 386 386 LogFlowThisFunc(("m=%s i=%d n=%s\n", "link", -1, name)); 387 kstat_t *ksAdapter = kstat_lookup(mKC, "link", -1, (char *)name);387 kstat_t *ksAdapter = kstat_lookup(mKC, (char *)"link", -1, (char *)name); 388 388 if (ksAdapter == 0) 389 389 { … … 391 391 uint32_t uInstance = getInstance(name, szModule); 392 392 LogFlowThisFunc(("m=%s i=%u n=%s\n", szModule, uInstance, "phys")); 393 ksAdapter = kstat_lookup(mKC, szModule, uInstance, "phys");393 ksAdapter = kstat_lookup(mKC, szModule, uInstance, (char *)"phys"); 394 394 if (ksAdapter == 0) 395 395 {
Note:
See TracChangeset
for help on using the changeset viewer.