VirtualBox

Changeset 53574 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Dec 19, 2014 10:58:54 AM (10 years ago)
Author:
vboxsync
Message:

CFGMR3ValidateConfig: pszNode has a trailing slash, so don't add an extra one in the error messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/CFGM.cpp

    r53437 r53574  
    901901                                              NULL))
    902902            {
    903                 AssertLogRelMsgFailed(("%s/%u: Value '%s/%s' didn't match '%s'\n",
     903                AssertLogRelMsgFailed(("%s/%u: Value '%s%s' didn't match '%s'\n",
    904904                                       pszWho, uInstance, pszNode, pLeaf->szName, pszValidValues));
    905905                return VMSetError(pNode->pVM, VERR_CFGM_CONFIG_UNKNOWN_VALUE, RT_SRC_POS,
    906                                   N_("Unknown configuration value '%s/%s' found in the configuration of %s instance #%u"),
     906                                  N_("Unknown configuration value '%s%s' found in the configuration of %s instance #%u"),
    907907                                  pszNode, pLeaf->szName, pszWho, uInstance);
    908908            }
     
    919919                                              NULL))
    920920            {
    921                 AssertLogRelMsgFailed(("%s/%u: Node '%s/%s' didn't match '%s'\n",
     921                AssertLogRelMsgFailed(("%s/%u: Node '%s%s' didn't match '%s'\n",
    922922                                       pszWho, uInstance, pszNode, pChild->szName, pszValidNodes));
    923923                return VMSetError(pNode->pVM, VERR_CFGM_CONFIG_UNKNOWN_NODE, RT_SRC_POS,
    924                                   N_("Unknown configuration node '%s/%s' found in the configuration of %s instance #%u"),
     924                                  N_("Unknown configuration node '%s%s' found in the configuration of %s instance #%u"),
    925925                                  pszNode, pChild->szName, pszWho, uInstance);
    926926            }
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