Revert r317201 to fix the log.

This commit is contained in:
pfg 2017-04-20 17:54:59 +00:00
parent 228876718b
commit c9c9f2fc02

View File

@ -100,7 +100,7 @@ pt_map_thread(const td_thragent_t *const_ta, psaddr_t pt, enum pt_type type)
if (new == NULL)
return (-1);
memset(new + ta->map_len, '\0', ta->map_len *
sizeof(struct pt_map));
2 * sizeof(struct pt_map));
first = ta->map_len;
ta->map = new;
ta->map_len *= 2;