Changeset 32701 in vbox for trunk/src/VBox/Frontends/VBoxManage/VBoxManageImport.cpp
- Timestamp:
- Sep 22, 2010 5:12:01 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 66128
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageImport.cpp
r32448 r32701 5 5 6 6 /* 7 * Copyright (C) 2009 Oracle Corporation7 * Copyright (C) 2009-2010 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 265 265 // call interpret(); this can yield both warnings and errors, so we need 266 266 // to tinker with the error info a bit 267 RT Printf("Interpreting %ls...\n", path.raw());267 RTStrmPrintf(g_pStdErr, "Interpreting %ls...\n", path.raw()); 268 268 rc = pAppliance->Interpret(); 269 269 com::ErrorInfo info0(pAppliance, COM_IIDOF(IAppliance)); … … 276 276 { 277 277 Bstr bstrWarning(aWarnings[i]); 278 RT Printf("WARNING: %ls.\n", bstrWarning.raw());278 RTMsgWarning("%ls.", bstrWarning.raw()); 279 279 } 280 280 } … … 287 287 } 288 288 289 RT Printf("OK.\n");289 RTStrmPrintf(g_pStdErr, "OK.\n"); 290 290 291 291 // fetch all disks … … 693 693 694 694 if (cLicensesInTheWay == 1) 695 RT Printf("ERROR: Cannot import until the license agreement listed above is accepted.\n");695 RTMsgError("Cannot import until the license agreement listed above is accepted."); 696 696 else if (cLicensesInTheWay > 1) 697 RT Printf("ERROR: Cannot import until the %c license agreements listed above are accepted.\n", cLicensesInTheWay);697 RTMsgError("Cannot import until the %c license agreements listed above are accepted.", cLicensesInTheWay); 698 698 699 699 if (!cLicensesInTheWay && fExecute) … … 935 935 else 936 936 { 937 RTPrintf("ERROR: Cannot read license file \"%s\" which should be included in the virtual system %u.\n", 938 itD->second.c_str(), 939 i); 937 RTMsgError("Cannot read license file \"%s\" which should be included in the virtual system %u.", 938 itD->second.c_str(), i); 940 939 return 1; 941 940 }
Note:
See TracChangeset
for help on using the changeset viewer.