aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_build_external.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-02-13 14:07:27 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2017-02-15 18:06:06 -0800
commit6e25bcf7cb1efd6de55f97aa978acd24d90af476 (patch)
tree34012750ce2682581e3893dae63c733487efb9ae /toolsrc/src/commands_build_external.cpp
parentc432b66034a4efe304d79926bf81f92cb6e96ad6 (diff)
downloadvcpkg-6e25bcf7cb1efd6de55f97aa978acd24d90af476.tar.gz
vcpkg-6e25bcf7cb1efd6de55f97aa978acd24d90af476.zip
Swap parameters of Build::create_error_message()
Diffstat (limited to 'toolsrc/src/commands_build_external.cpp')
-rw-r--r--toolsrc/src/commands_build_external.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_build_external.cpp b/toolsrc/src/commands_build_external.cpp
index 0b2fdc766..42b649dc3 100644
--- a/toolsrc/src/commands_build_external.cpp
+++ b/toolsrc/src/commands_build_external.cpp
@@ -26,7 +26,7 @@ namespace vcpkg::Commands::BuildExternal
const Build::BuildResult result = Commands::Build::build_package(*spgh, *spec, paths, port_dir, status_db);
if (result != Build::BuildResult::SUCCEEDED)
{
- System::println(System::color::error, Build::create_error_message(spec->toString(), result));
+ System::println(System::color::error, Build::create_error_message(result, spec->toString()));
exit(EXIT_FAILURE);
}