summaryrefslogtreecommitdiff
path: root/xdelta3/examples
diff options
context:
space:
mode:
Diffstat (limited to 'xdelta3/examples')
-rw-r--r--xdelta3/examples/speed_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xdelta3/examples/speed_test.c b/xdelta3/examples/speed_test.c
index 9e5a91f..58e9aca 100644
--- a/xdelta3/examples/speed_test.c
+++ b/xdelta3/examples/speed_test.c
@@ -13,7 +13,7 @@ usize_t bench_speed(const uint8_t *from_buf, const size_t from_len,
13 int ret = xd3_encode_memory(to_buf, to_len, from_buf, from_len, 13 int ret = xd3_encode_memory(to_buf, to_len, from_buf, from_len,
14 delta_buf, &delta_size, delta_alloc, flags); 14 delta_buf, &delta_size, delta_alloc, flags);
15 if (ret != 0) { 15 if (ret != 0) {
16 fprintf(stderr, "encode failure: %d\n", ret); 16 fprintf(stderr, "encode failure: %d: %s\n", ret, xd3_strerror(ret));
17 abort(); 17 abort();
18 } 18 }
19 return delta_size; 19 return delta_size;