- ERROR("\"%"TS"\": stream not found", inode_first_full_path(inode));
- tfprintf(wimlib_error_file,
- T(" SHA-1 message digest of missing stream:\n "));
- print_hash(hash, wimlib_error_file);
- tputc(T('\n'), wimlib_error_file);
+ tchar hashstr[SHA1_HASH_SIZE * 2 + 1];
+
+ sprint_hash(hash, hashstr);
+
+ ERROR("\"%"TS"\": stream not found\n"
+ " SHA-1 message digest of missing stream:\n"
+ " %"TS"",
+ inode_first_full_path(inode), hashstr);