VirtualBox

Changeset 93948 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Feb 25, 2022 1:59:00 PM (3 years ago)
Author:
vboxsync
Message:

Main/MachineImple: Fixed use of NULL ComObjPtr<Medium> object in error message formatting (found by gcc 11.2.1).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r93891 r93948  
    93419341            default:
    93429342                return setError(E_FAIL,
    9343                                 tr("Device '%s' with unknown type is attached to the virtual machine '%s' ('%s')"),
    9344                                 medium->i_getLocationFull().c_str(),
    9345                                 mUserData->s.strName.c_str(),
    9346                                 mData->m_strConfigFileFull.c_str());
     9343                                tr("Controller '%s' port %u unit %u has device with unknown type (%d) - virtual machine '%s' ('%s')"),
     9344                                data.strName.c_str(), dev.lPort, dev.lDevice, dev.deviceType,
     9345                                mUserData->s.strName.c_str(), mData->m_strConfigFileFull.c_str());
    93479346        }
    93489347
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