Changeset 6412 in vbox
- Timestamp:
- Jan 21, 2008 2:54:51 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/solaris/SUPDrv-solaris.c
r5999 r6412 489 489 { 490 490 OSDBGPRINT(("VBoxDrvSolarisClose: no state data for %#x (%d)\n", Dev, getminor(Dev))); 491 return DDI_SUCCESS;491 return EFAULT; 492 492 } 493 493 … … 499 499 { 500 500 OSDBGPRINT(("VBoxDrvSolarisClose: no session in state data for %#x (%d)\n", Dev, getminor(Dev))); 501 return DDI_SUCCESS;501 return EFAULT; 502 502 } 503 503 OSDBGPRINT(("VBoxDrvSolarisClose: Dev=%#x pSession=%p pid=%d r0proc=%p thread=%p\n", Dev, pSession, RTProcSelf(), RTR0ProcHandleSelf(), RTThreadNativeSelf() )); … … 545 545 OSDBGPRINT(("VBoxDrvSolarisClose: WHAT?!? pSession == NULL! This must be a mistake... pid=%d (close)\n", 546 546 (int)Process)); 547 return DDI_FAILURE;547 return EFAULT; 548 548 } 549 549 #endif … … 554 554 supdrvCloseSession(&g_DevExt, pSession); 555 555 OSDBGPRINT(("VBoxDrvSolarisClose: returns\n")); 556 return DDI_SUCCESS;556 return 0; 557 557 } 558 558 … … 561 561 { 562 562 cmn_err(CE_CONT, "VBoxDrvSolarisRead"); 563 return DDI_SUCCESS;563 return 0; 564 564 } 565 565 … … 568 568 { 569 569 cmn_err(CE_CONT, "VBoxDrvSolarisWrite"); 570 return DDI_SUCCESS;570 return 0; 571 571 } 572 572
Note:
See TracChangeset
for help on using the changeset viewer.