summaryrefslogtreecommitdiff
path: root/xmake/modules
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules')
-rw-r--r--xmake/modules/private/tools/vstool.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/private/tools/vstool.lua b/xmake/modules/private/tools/vstool.lua
index 7b124c5e7..e632ed00f 100644
--- a/xmake/modules/private/tools/vstool.lua
+++ b/xmake/modules/private/tools/vstool.lua
@@ -63,7 +63,7 @@ function runv(program, argv, opt)
if ok ~= nil then
errors = string.format("vstool.runv(%s) failed(%d)", cmd, ok)
else
- errors = string.format("vstool.runv(%s), error: %s", cmd, syserrors and syserrors or "unknown")
+ errors = string.format("vstool.runv(%s), %s", cmd, syserrors and syserrors or "unknown reason")
end
end
@@ -129,7 +129,7 @@ function iorunv(program, argv, opt)
if ok ~= nil then
errors = string.format("vstool.iorunv(%s) failed(%d)", cmd, ok)
else
- errors = string.format("vstool.iorunv(%s), error: %s", cmd, syserrors and syserrors or "unknown")
+ errors = string.format("vstool.iorunv(%s), %s", cmd, syserrors and syserrors or "unknown reason")
end
end