Changeset 53688 in vbox for trunk/src/VBox/ExtPacks/VBoxDTrace/onnv
- Timestamp:
- Jan 2, 2015 12:40:55 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/dt_subr.c
r53687 r53688 48 48 # endif 49 49 # include <VBox/sup.h> 50 # include <VBox/err.h> 50 51 #endif /* VBOX */ 51 52 … … 499 500 rc = SUPR3TracerIoCtl(val, (uintptr_t)arg, &iRetVal); 500 501 if (RT_FAILURE(rc)) { 501 errno = RTErrConvertToErrno(rc); 502 switch (rc) { 503 case VERR_SUPDRV_TRACER_NOT_OPENED: errno = EBADF; break; 504 default: 505 errno = RTErrConvertToErrno(rc); 506 } 502 507 return (-1); 503 508 }
Note:
See TracChangeset
for help on using the changeset viewer.