- Timestamp:
- Jun 9, 2010 2:45:10 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageStorageController.cpp
r29480 r30125 148 148 } 149 149 } 150 151 if ( FAILED(rc) 152 || !pszCtl 153 || port == ~0U 154 || device == ~0U) 155 { 156 errorGetOpt(USAGE_STORAGEATTACH, c, &ValueUnion); 150 151 if (FAILED(rc)) 157 152 return 1; 158 } 153 154 if (!pszCtl) 155 return errorSyntax(USAGE_STORAGEATTACH, "Storage controller name not specified"); 156 if (port == ~0U) 157 return errorSyntax(USAGE_STORAGEATTACH, "Port not specified"); 158 if (device == ~0U) 159 return errorSyntax(USAGE_STORAGEATTACH, "Device not specified"); 159 160 160 161 /* get the virtualbox system properties */ … … 769 770 /* it's important to always close sessions */ 770 771 a->session->Close(); 771 errorSyntax(USAGE_STORAGECONTROLLER, "Storage Controller Name not specified\n");772 errorSyntax(USAGE_STORAGECONTROLLER, "Storage controller name not specified\n"); 772 773 return 1; 773 774 }
Note:
See TracChangeset
for help on using the changeset viewer.