Changeset 48985 in vbox for trunk/src/VBox/Frontends/VBoxManage/VBoxManageStorageController.cpp
- Timestamp:
- Oct 8, 2013 10:38:17 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 89702
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageStorageController.cpp
r48983 r48985 907 907 { "--add", 'a', RTGETOPT_REQ_STRING }, 908 908 { "--controller", 'c', RTGETOPT_REQ_STRING }, 909 { "-- sataportcount",'p', RTGETOPT_REQ_UINT32 },909 { "--portcount", 'p', RTGETOPT_REQ_UINT32 }, 910 910 { "--remove", 'r', RTGETOPT_REQ_NOTHING }, 911 911 { "--hostiocache", 'i', RTGETOPT_REQ_STRING }, … … 924 924 ULONG satabootdev = ~0U; 925 925 ULONG sataidedev = ~0U; 926 ULONG sataportcount= ~0U;926 ULONG portcount = ~0U; 927 927 bool fRemoveCtl = false; 928 928 ComPtr<IMachine> machine; … … 968 968 } 969 969 970 case 'p': // sataportcount971 { 972 sataportcount = ValueUnion.u32;970 case 'p': // portcount 971 { 972 portcount = ValueUnion.u32; 973 973 break; 974 974 } … … 1134 1134 } 1135 1135 1136 if ( ( sataportcount != ~0U)1136 if ( (portcount != ~0U) 1137 1137 && SUCCEEDED(rc)) 1138 1138 { … … 1144 1144 if (SUCCEEDED(rc)) 1145 1145 { 1146 CHECK_ERROR(ctl, COMSETTER(PortCount)( sataportcount));1146 CHECK_ERROR(ctl, COMSETTER(PortCount)(portcount)); 1147 1147 } 1148 1148 else
Note:
See TracChangeset
for help on using the changeset viewer.