Changeset 38599 in vbox for trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp
- Timestamp:
- Sep 1, 2011 1:30:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp
r38592 r38599 2283 2283 if (pSession->R0Process != NIL_RTR0PROCESS) \ 2284 2284 { \ 2285 Log Rel(("VBoxGuestCommonIOCtl: "mnemonic ": Ring-0 only, caller is %RTproc/%p\n", \2286 pSession->Process, (uintptr_t)pSession->R0Process)); \2285 LogFunc((mnemonic ": Ring-0 only, caller is %RTproc/%p\n", \ 2286 pSession->Process, (uintptr_t)pSession->R0Process)); \ 2287 2287 return VERR_PERMISSION_DENIED; \ 2288 2288 } \ … … 2292 2292 if (cbData < (cbMin)) \ 2293 2293 { \ 2294 Log Rel(("VBoxGuestCommonIOCtl: "mnemonic ": cbData=%#zx (%zu) min is %#zx (%zu)\n", \2295 cbData, cbData, (size_t)(cbMin), (size_t)(cbMin))); \2294 LogFunc((mnemonic ": cbData=%#zx (%zu) min is %#zx (%zu)\n", \ 2295 cbData, cbData, (size_t)(cbMin), (size_t)(cbMin))); \ 2296 2296 return VERR_BUFFER_OVERFLOW; \ 2297 2297 } \ 2298 2298 if ((cbMin) != 0 && !VALID_PTR(pvData)) \ 2299 2299 { \ 2300 Log Rel(("VBoxGuestCommonIOCtl: "mnemonic ": Invalid pointer %p\n", pvData)); \2300 LogFunc((mnemonic ": Invalid pointer %p\n", pvData)); \ 2301 2301 return VERR_INVALID_POINTER; \ 2302 2302 } \
Note:
See TracChangeset
for help on using the changeset viewer.