Changeset 11266 in vbox for trunk/src/VBox/Devices/Storage/DrvMediaISO.cpp
- Timestamp:
- Aug 8, 2008 4:14:51 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DrvMediaISO.cpp
r11191 r11266 128 128 char *pszName; 129 129 int rc = CFGMR3QueryStringAlloc(pCfgHandle, "Path", &pszName); 130 if ( VBOX_FAILURE(rc))130 if (RT_FAILURE(rc)) 131 131 return PDMDRV_SET_ERROR(pDrvIns, rc, N_("Failed to query \"Path\" from the config")); 132 132 … … 136 136 rc = RTFileOpen(&pData->File, pszName, 137 137 RTFILE_O_READ | RTFILE_O_OPEN | RTFILE_O_DENY_WRITE); 138 if ( VBOX_SUCCESS(rc))138 if (RT_SUCCESS(rc)) 139 139 { 140 140 LogFlow(("drvMediaISOConstruct: ISO image '%s' opened successfully.\n", pszName)); … … 182 182 uint64_t cbFile; 183 183 int rc = RTFileGetSize(pData->File, &cbFile); 184 if ( VBOX_SUCCESS(rc))184 if (RT_SUCCESS(rc)) 185 185 { 186 186 LogFlow(("drvMediaISOGetSize: returns %lld (%s)\n", cbFile, pData->pszFilename)); … … 238 238 */ 239 239 int rc = RTFileSeek(pData->File, off, RTFILE_SEEK_BEGIN, NULL); 240 if ( VBOX_SUCCESS(rc))240 if (RT_SUCCESS(rc)) 241 241 { 242 242 rc = RTFileRead(pData->File, pvBuf, cbRead, NULL); 243 if ( VBOX_SUCCESS(rc))243 if (RT_SUCCESS(rc)) 244 244 { 245 245 Log2(("drvMediaISORead: off=%#llx pvBuf=%p cbRead=%#x (%s)\n"
Note:
See TracChangeset
for help on using the changeset viewer.