Index: /trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp
===================================================================
--- /trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp	(revision 65886)
+++ /trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp	(revision 65887)
@@ -3342,5 +3342,5 @@
 
                 Log(("Attaching disk %s to port %d on device %d\n",
-                vsdeTargetHD->strVBoxCurrent.c_str(), mhda.lControllerPort, mhda.lDevice));
+                     vsdeTargetHD->strVBoxCurrent.c_str(), mhda.lControllerPort, mhda.lDevice));
 
                 ComObjPtr<MediumFormat> mediumFormat;
@@ -3567,5 +3567,5 @@
                 && vsdeNW->strExtraConfigCurrent.length() > 6)
             {
-                uint32_t iSlot = vsdeNW->strExtraConfigCurrent.substr(5, 1).toUInt32();
+                uint32_t iSlot = vsdeNW->strExtraConfigCurrent.substr(5).toUInt32();
                 /* Iterate through all network adapters in the machine config. */
                 for (it1 = llNetworkAdapters.begin();
