Changeset 6314 in vbox
- Timestamp:
- Jan 9, 2008 11:53:00 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/VBoxHDD-new.cpp
r6295 r6314 803 803 RTPathStripExt(pPluginDirEntry->szName); 804 804 char *pszFormat = NULL; 805 AssertBreak(strlen(pszFormat) >= VBOX_HDDFORMAT_PLUGIN_PREFIX_LENGTH, 806 rc = VERR_INVALID_NAME); 805 807 806 pszFormat = RTStrDup(pPluginDirEntry->szName + VBOX_HDDFORMAT_PLUGIN_PREFIX_LENGTH); 808 807 if (!pszFormat) 809 808 rc = VERR_NO_MEMORY; 809 810 AssertBreak(strlen(pszFormat) >= VBOX_HDDFORMAT_PLUGIN_PREFIX_LENGTH, 811 rc = VERR_INVALID_NAME); 810 812 *ppszFormat = pszFormat; 811 813 }
Note:
See TracChangeset
for help on using the changeset viewer.