ctfconvert: Actually use the asprintf() helper
Fixes: 1165fc9a52
("ctfconvert: Give bitfield types names distinct from the base type")
This commit is contained in:
parent
1165fc9a52
commit
6237c3e74f
@ -627,7 +627,7 @@ tdesc_intr_clone(dwarf_t *dw, tdesc_t *old, size_t bitsz, const char *suffix)
|
||||
"unresolved type\n", old->t_id);
|
||||
}
|
||||
|
||||
asprintf(&new->t_name, "%s %s", old->t_name, suffix);
|
||||
xasprintf(&new->t_name, "%s %s", old->t_name, suffix);
|
||||
new->t_size = old->t_size;
|
||||
new->t_id = mfgtid_next(dw);
|
||||
new->t_type = INTRINSIC;
|
||||
|
Loading…
Reference in New Issue
Block a user