aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_build_external.cpp
diff options
context:
space:
mode:
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);
}