Update a UTRACE() size argument.

This commit is contained in:
Jason Evans 2017-06-08 12:55:59 -07:00
parent faaf458bad
commit 94d655b8bd

View File

@ -1930,7 +1930,7 @@ imalloc(static_opts_t *sopts, dynamic_opts_t *dopts) {
malloc_write(sopts->oom_string);
abort();
}
UTRACE(NULL, size, NULL);
UTRACE(NULL, dopts->num_items * dopts->item_size, NULL);
set_errno(ENOMEM);
*dopts->result = NULL;