Date: Wed, 3 Aug 2022 00:53:12 GMT From: Mark Johnston <markj@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 6237c3e74fea - main - ctfconvert: Actually use the asprintf() helper Message-ID: <202208030053.2730rChf042860@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=6237c3e74fea2feb201a25ef870e1420028d4291 commit 6237c3e74fea2feb201a25ef870e1420028d4291 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2022-08-03 00:49:50 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2022-08-03 00:49:50 +0000 ctfconvert: Actually use the asprintf() helper Fixes: 1165fc9a5266 ("ctfconvert: Give bitfield types names distinct from the base type") --- cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c b/cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c index 9c422fb58fa1..67866555ae5d 100644 --- a/cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c +++ b/cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202208030053.2730rChf042860>