git://wimlib.net
/
wimlib
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a08ade
)
hasher_end_stream(): Fix format string
author
Eric Biggers
<ebiggers3@gmail.com>
Sat, 18 Jan 2014 06:19:59 +0000
(
00:19
-0600)
committer
Eric Biggers
<ebiggers3@gmail.com>
Sat, 18 Jan 2014 06:19:59 +0000
(
00:19
-0600)
src/resource.c
patch
|
blob
|
history
diff --git
a/src/resource.c
b/src/resource.c
index bbf929a3b311ca1130bbcb8c6ce91c620f5d79f6..b11e157aa4436faed51fa9896ff4777f324d23f9 100644
(file)
--- 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;