Changeset 11430 in vbox for trunk/src/VBox/Main
- Timestamp:
- Aug 14, 2008 4:04:13 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/solaris/PerformanceSolaris.cpp
r11180 r11430 103 103 if (kstat_read(mKC, ksp, &cpu_stats) == -1) 104 104 { 105 Log(("kstat_read() -> %d ", errno));105 Log(("kstat_read() -> %d\n", errno)); 106 106 return VERR_INTERNAL_ERROR; 107 107 } … … 150 150 else 151 151 { 152 Log(("read() -> %d ", errno));152 Log(("read() -> %d\n", errno)); 153 153 rc = VERR_FILE_IO_ERROR; 154 154 } … … 157 157 else 158 158 { 159 Log(("open() -> %d ", errno));159 Log(("open() -> %d\n", errno)); 160 160 rc = VERR_ACCESS_DENIED; 161 161 } … … 180 180 if (kstat_read(mKC, mSysPages, 0) == -1) 181 181 { 182 Log(("kstat_read(sys_pages) -> %d ", errno));182 Log(("kstat_read(sys_pages) -> %d\n", errno)); 183 183 return VERR_INTERNAL_ERROR; 184 184 } 185 185 if ((kn = (kstat_named_t *)kstat_data_lookup(mSysPages, "freemem")) == 0) 186 186 { 187 Log(("kstat_data_lookup(freemem) -> %d ", errno));187 Log(("kstat_data_lookup(freemem) -> %d\n", errno)); 188 188 return VERR_INTERNAL_ERROR; 189 189 } … … 191 191 if ((kn = (kstat_named_t *)kstat_data_lookup(mSysPages, "physmem")) == 0) 192 192 { 193 Log(("kstat_data_lookup(physmem) -> %d ", errno));193 Log(("kstat_data_lookup(physmem) -> %d\n", errno)); 194 194 return VERR_INTERNAL_ERROR; 195 195 } … … 221 221 else 222 222 { 223 Log(("read() -> %d ", errno));223 Log(("read() -> %d\n", errno)); 224 224 rc = VERR_FILE_IO_ERROR; 225 225 } … … 228 228 else 229 229 { 230 Log(("open() -> %d ", errno));230 Log(("open() -> %d\n", errno)); 231 231 rc = VERR_ACCESS_DENIED; 232 232 }
Note:
See TracChangeset
for help on using the changeset viewer.