- Timestamp:
- Sep 11, 2014 1:40:22 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp
r52618 r52701 2516 2516 * @param pcbDataReturned Where to store the amount of returned data. Can be NULL. 2517 2517 */ 2518 static int VBoxGuestCommonIOCtl_Log(PVBOXGUESTDEVEXT pDevExt, const char *pch, size_t cbData, size_t *pcbDataReturned )2518 static int VBoxGuestCommonIOCtl_Log(PVBOXGUESTDEVEXT pDevExt, const char *pch, size_t cbData, size_t *pcbDataReturned, bool fUserSession) 2519 2519 { 2520 2520 NOREF(pch); … … 2522 2522 if (pDevExt->fLoggingEnabled) 2523 2523 RTLogBackdoorPrintf("%.*s", cbData, pch); 2524 else if (!fUserSession) 2525 LogRel(("%.*s", cbData, pch)); 2524 2526 else 2525 2527 Log(("%.*s", cbData, pch)); … … 2841 2843 { 2842 2844 CHECKRET_MIN_SIZE("LOG", 1); 2843 rc = VBoxGuestCommonIOCtl_Log(pDevExt, (char *)pvData, cbData, pcbDataReturned );2845 rc = VBoxGuestCommonIOCtl_Log(pDevExt, (char *)pvData, cbData, pcbDataReturned, pSession->fUserSession); 2844 2846 } 2845 2847 else
Note:
See TracChangeset
for help on using the changeset viewer.