aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg/base/hash.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolsrc/include/vcpkg/base/hash.h b/toolsrc/include/vcpkg/base/hash.h
index d62fd3921..0747e6737 100644
--- a/toolsrc/include/vcpkg/base/hash.h
+++ b/toolsrc/include/vcpkg/base/hash.h
@@ -43,7 +43,8 @@ namespace vcpkg::Hash
const auto result = get_file_hash(fs, path, algo, ec);
if (ec)
{
- Checks::exit_with_message(li, "Failure to read file for hashing: %s", ec.message());
+ Checks::exit_with_message(
+ li, "Failure to read file '%s' for hashing: %s", fs::u8string(path), ec.message());
}
return result;