Changeset 2534 in vbox for trunk/src/VBox
- Timestamp:
- May 8, 2007 11:20:07 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DrvHostRawDisk.cpp
r1795 r2534 284 284 */ 285 285 if (!CFGMR3AreValuesValid(pCfgHandle, "Path\0ReadOnly\0")) 286 return VERR_PDM_DRVINS_UNKNOWN_CFG_VALUES; 287 286 return PDMDrvHlpVMSetError(pDrvIns, VERR_PDM_DRVINS_UNKNOWN_CFG_VALUES, RT_SRC_POS, N_("RawHDD#%d: configuration keys other than \"Path\" and \"ReadOnly\" present")); 288 287 289 288 /* … … 292 291 rc = CFGMR3QueryStringAlloc(pCfgHandle, "Path", &pThis->pszPath); 293 292 if (VBOX_FAILURE(rc)) 294 return PDMDrvHlpVMSetError(pDrvIns, rc, RT_SRC_POS, N_("RawHDD#%d: configuration query for \"Path\" string returned %Vra .\n"), rc);293 return PDMDrvHlpVMSetError(pDrvIns, rc, RT_SRC_POS, N_("RawHDD#%d: configuration query for \"Path\" string returned %Vra"), rc); 295 294 296 295 rc = CFGMR3QueryBool(pCfgHandle, "ReadOnly", &pThis->fReadOnly); … … 301 300 } 302 301 else if (VBOX_FAILURE(rc)) 303 return PDMDrvHlpVMSetError(pDrvIns, rc, RT_SRC_POS, N_("RawHDD#%d: configuration query for \"ReadOnly\" boolean returned %Vra .\n"), rc);302 return PDMDrvHlpVMSetError(pDrvIns, rc, RT_SRC_POS, N_("RawHDD#%d: configuration query for \"ReadOnly\" boolean returned %Vra"), rc); 304 303 305 304 pDrvIns->IBase.pfnQueryInterface = drvHostHDDQueryInterface;
Note:
See TracChangeset
for help on using the changeset viewer.