]> wimlib.net Git - wimlib/blobdiff - src/inode.c
Add and use SHA1_HASH_STRING_LEN constant
[wimlib] / src / inode.c
index 68e88c05fd6a21444c0ce716d68883d2c6cab001..7699e9bf9d56dc94a82c4de6265b0a036101f2d4 100644 (file)
@@ -485,7 +485,7 @@ int
 blob_not_found_error(const struct wim_inode *inode, const u8 *hash)
 {
        if (wimlib_print_errors) {
-               tchar hashstr[SHA1_HASH_SIZE * 2 + 1];
+               tchar hashstr[SHA1_HASH_STRING_LEN];
 
                sprint_hash(hash, hashstr);