aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/hash.cc
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2020-06-12 10:18:27 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2020-06-12 10:18:27 -0500
commitea0d29d99a400c328fa0ca05ba5e639351673ebc (patch)
tree75ae54adbfc79568ddb05ba8ed7b8ccb9cf6b2cc /src/libutil/hash.cc
parentb260c9ee0325d7a4c78d91e47bd6e2afbde16e28 (diff)
Provide base argument to to_string
Diffstat (limited to 'src/libutil/hash.cc')
-rw-r--r--src/libutil/hash.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/hash.cc b/src/libutil/hash.cc
index 2c8085e42..3f6d4c0c9 100644
--- a/src/libutil/hash.cc
+++ b/src/libutil/hash.cc
@@ -210,7 +210,7 @@ Hash newHashAllowEmpty(std::string hashStr, HashType ht)
if (hashStr.empty())
{
Hash h(ht);
- warn("found empty hash, assuming you wanted '%s'", h.to_string());
+ warn("found empty hash, assuming you wanted '%s'", h.to_string(SRI));
} else
return Hash(hashStr, ht);
}