aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/hash.cc
diff options
context:
space:
mode:
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 65ba1dc81..dfb3668f1 100644
--- a/src/libutil/hash.cc
+++ b/src/libutil/hash.cc
@@ -177,7 +177,7 @@ Hash Hash::parseAnyPrefixed(std::string_view original)
// Either the string or user must provide the type, if they both do they
// must agree.
if (!optParsedType)
- throw BadHash("hash '%s' does not include a type.", rest);
+ throw BadHash("hash '%s' does not include a type", rest);
return Hash(rest, *optParsedType, isSRI);
}