Changeset 8457 in vbox
- Timestamp:
- Apr 29, 2008 11:54:01 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 30320
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl2.cpp
r8442 r8457 199 199 default: 200 200 AssertMsgFailed(("Invalid IDE controller type '%d'", controllerType)); 201 return VERR_INVALID_PARAMETER; 201 return VMSetError(pVM, VERR_INVALID_PARAMETER, RT_SRC_POS, 202 N_("Invalid IDE controller type '%d'"), controllerType); 202 203 } 203 204 … … 295 296 default: 296 297 AssertMsgFailed(("Invalid bootDevice=%d\n", bootDevice)); 297 return VERR_INVALID_PARAMETER; 298 return VMSetError(pVM, VERR_INVALID_PARAMETER, RT_SRC_POS, 299 N_("Invalid boot device '%d'"), bootDevice); 298 300 } 299 301 rc = CFGMR3InsertString(pBiosCfg, szParamName, pszBootDevice); RC_CHECK(); … … 960 962 AssertMsgFailed(("Invalid network adapter type '%d' for slot '%d'", 961 963 adapterType, ulInstance)); 962 return VERR_GENERAL_FAILURE; 964 return VMSetError(pVM, VERR_INVALID_PARAMETER, RT_SRC_POS, 965 N_("Invalid network adapter type '%d' for slot '%d'"), 966 adapterType, ulInstance); 963 967 } 964 968
Note:
See TracChangeset
for help on using the changeset viewer.