From 65f3fcb9ef6d677352115b7368edeb9c057c8852 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sat, 18 Jan 2014 00:19:59 -0600 Subject: [PATCH] hasher_end_stream(): Fix format string --- src/resource.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.43.0