From: Eric Biggers Date: Sat, 18 Jan 2014 06:19:59 +0000 (-0600) Subject: hasher_end_stream(): Fix format string X-Git-Tag: v1.6.1~8 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=65f3fcb9ef6d677352115b7368edeb9c057c8852 hasher_end_stream(): Fix format string --- diff --git a/src/resource.c b/src/resource.c index bbf929a3..b11e157a 100644 --- a/src/resource.c +++ b/src/resource.c @@ -1035,8 +1035,8 @@ hasher_end_stream(struct wim_lookup_table_entry *lte, int status, void *_ctx) get_sha1_string(lte->hash, expected_hashstr); get_sha1_string(hash, actual_hashstr); ERROR("The stream is corrupted!\n" - " (Expected SHA1=%s,\n" - " got SHA1=%s)", + " (Expected SHA1=%"TS",\n" + " got SHA1=%"TS")", expected_hashstr, actual_hashstr); } ret = WIMLIB_ERR_INVALID_RESOURCE_HASH;