Changeset 6328 in vbox
- Timestamp:
- Jan 10, 2008 2:48:35 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 27210
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/VBoxHDD-new.cpp
r6326 r6328 802 802 /* Report the format name. */ 803 803 RTPathStripExt(pPluginDirEntry->szName); 804 AssertBreak(strlen(pPluginDirEntry->szName) >= VBOX_HDDFORMAT_PLUGIN_PREFIX_LENGTH, 805 rc = VERR_INVALID_NAME); 806 804 807 char *pszFormat = NULL; 805 806 808 pszFormat = RTStrDup(pPluginDirEntry->szName + VBOX_HDDFORMAT_PLUGIN_PREFIX_LENGTH); 807 809 if (!pszFormat) 808 810 rc = VERR_NO_MEMORY; 809 811 810 AssertBreak(strlen(pszFormat) >= VBOX_HDDFORMAT_PLUGIN_PREFIX_LENGTH,811 rc = VERR_INVALID_NAME);812 812 *ppszFormat = pszFormat; 813 813 }
Note:
See TracChangeset
for help on using the changeset viewer.