summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/nwztools/upgtools/upgtool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/nwztools/upgtools/upgtool.c b/utils/nwztools/upgtools/upgtool.c
index 8235e487bf..b573532d6e 100644
--- a/utils/nwztools/upgtools/upgtool.c
+++ b/utils/nwztools/upgtools/upgtool.c
@@ -470,6 +470,7 @@ static int create_upg(int argc, char **argv)
470 upg->files[1].data = realloc(upg->files[1].data, upg->files[1].size + md5_prepend_sz); 470 upg->files[1].data = realloc(upg->files[1].data, upg->files[1].size + md5_prepend_sz);
471 memmove(upg->files[1].data + md5_prepend_sz, upg->files[1].data, upg->files[1].size); 471 memmove(upg->files[1].data + md5_prepend_sz, upg->files[1].data, upg->files[1].size);
472 memcpy(upg->files[1].data, md5_prepend, md5_prepend_sz); 472 memcpy(upg->files[1].data, md5_prepend, md5_prepend_sz);
473 upg->files[1].size += md5_prepend_sz;
473 474
474 size_t size = 0; 475 size_t size = 0;
475 void *buf = upg_write_memory(upg, g_key, g_sig, &size, NULL, generic_std_printf); 476 void *buf = upg_write_memory(upg, g_key, g_sig, &size, NULL, generic_std_printf);