libctf: fix tabdamage
A little tabdamage predating the linker patch series has crept in. New in v5. libctf/ * ctf-open.c (ctf_bufopen_internal): Fix tabdamage. * ctf-types.c (ctf_type_lname): Likewise.
This commit is contained in:
parent
d344b407dd
commit
fa56cdcd24
|
@ -1,3 +1,8 @@
|
||||||
|
2019-09-30 Nick Alcock <nick.alcock@oracle.com>
|
||||||
|
|
||||||
|
* ctf-open.c (ctf_bufopen_internal): Fix tabdamage.
|
||||||
|
* ctf-types.c (ctf_type_lname): Likewise.
|
||||||
|
|
||||||
2019-09-23 Nick Alcock <nick.alcock@oracle.com>
|
2019-09-23 Nick Alcock <nick.alcock@oracle.com>
|
||||||
|
|
||||||
* ctf-open.c (ctf_import): Do not leak a ctf_file_t ref on every
|
* ctf-open.c (ctf_import): Do not leak a ctf_file_t ref on every
|
||||||
|
|
|
@ -441,7 +441,7 @@ ctf_type_lname (ctf_file_t *fp, ctf_id_t type, char *buf, size_t len)
|
||||||
size_t slen;
|
size_t slen;
|
||||||
|
|
||||||
if (str == NULL)
|
if (str == NULL)
|
||||||
return CTF_ERR; /* errno is set for us */
|
return CTF_ERR; /* errno is set for us. */
|
||||||
|
|
||||||
slen = strlen (str);
|
slen = strlen (str);
|
||||||
snprintf (buf, len, "%s", str);
|
snprintf (buf, len, "%s", str);
|
||||||
|
|
Loading…
Reference in New Issue