Changeset 37949 in vbox for trunk/src/VBox
- Timestamp:
- Jul 14, 2011 10:08:24 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/solaris/vbi/i86pc/os/vbi.c
r37948 r37949 290 290 && strlen(utsname.version) > 4) 291 291 { 292 ddi_strtol(utsname.version + 4, NULL /* endptr */, 0, &snv_version);293 if ( snv_version >= 166)292 int err = ddi_strtol(utsname.version + 4, NULL /* endptr */, 0, &snv_version); 293 if (!err) 294 294 { 295 off_t_preempt = off_s11_t_preempt_new; 296 cmn_err(CE_NOTE, "here\n"); 295 if (snv_version >= 166) 296 off_t_preempt = off_s11_t_preempt_new; 297 cmn_err(CE_NOTE, "Detected S11 version %ld: Preemption offset=%d\n", snv_version, off_t_preempt); 297 298 } 298 299 cmn_err(CE_NOTE, "Detected S11 version %ld: Preemption offset=%d\n", snv_version, off_t_preempt);299 else 300 snv_version = 0; 300 301 } 301 else 302 cmn_err(CE_NOTE, "WARNING!! Cannot determine version. Assuming pre snv_166. Preemption offset=%ld may be busted!\n", off_t_preempt); 302 303 if (snv_version == 0) 304 { 305 cmn_err(CE_NOTE, "WARNING(2)!! Cannot determine version. Assuming pre snv_166, name=%s Preemption offset=%ld may be busted!\n", 306 utsname.version, off_t_preempt); 307 } 303 308 #endif 304 309 } else {
Note:
See TracChangeset
for help on using the changeset viewer.