VirtualBox

Ignore:
Timestamp:
Mar 31, 2016 5:04:15 PM (9 years ago)
Author:
vboxsync
Message:

HostDrivers: try to purge all usage of __FUNCTION__

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxUSB/win/lib/VBoxUsbLib-win.cpp

    r60172 r60277  
    489489    {
    490490        DWORD winEr = GetLastError();
    491         LogRel((__FUNCTION__": DeviceIoControl 1 fail winEr (%d)\n", winEr));
     491        LogRelFunc(("DeviceIoControl 1 fail winEr (%d)\n", winEr));
    492492#ifdef VBOX_WITH_ANNOYING_USB_ASSERTIONS
    493493        AssertFailed();
     
    526526        {
    527527            DWORD winEr = GetLastError();
    528             LogRel((__FUNCTION__": DeviceIoControl 2 fail winEr (%d)\n", winEr));
     528            LogRelFunc(("DeviceIoControl 2 fail winEr (%d)\n", winEr));
    529529#ifdef VBOX_WITH_ANNOYING_USB_ASSERTIONS
    530530            AssertFailed();
     
    13621362                    {
    13631363                        DWORD winEr = GetLastError();
    1364                         LogRel((__FUNCTION__": CreateFile failed winEr(%d)\n", winEr));
     1364                        LogRelFunc(("CreateFile failed winEr(%d)\n", winEr));
    13651365                        rc = VERR_FILE_NOT_FOUND;
    13661366                    }
     
    14831483                    else
    14841484                    {
    1485                         LogRel((__FUNCTION__": USB Monitor driver version mismatch! driver=%u.%u library=%u.%u\n",
     1485                        LogRelFunc(("USB Monitor driver version mismatch! driver=%u.%u library=%u.%u\n",
    14861486                                Version.u32Major, Version.u32Minor, USBMON_MAJOR_VERSION, USBMON_MINOR_VERSION));
    14871487#ifdef VBOX_WITH_ANNOYING_USB_ASSERTIONS
     
    15031503            else
    15041504            {
    1505                 LogRel((__FUNCTION__": USB Service not found\n"));
     1505                LogRelFunc(("USB Service not found\n"));
    15061506#ifdef VBOX_WITH_ANNOYING_USB_ASSERTIONS
    15071507                AssertFailed();
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette