[PATCH v5 37/37] libctf: fix tabdamage
Nick Alcock
nick.alcock@oracle.com
Tue Oct 1 10:58:00 GMT 2019
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.
---
libctf/ctf-open.c | 4 ++--
libctf/ctf-types.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libctf/ctf-open.c b/libctf/ctf-open.c
index aedf39086a..7fb289af56 100644
--- a/libctf/ctf-open.c
+++ b/libctf/ctf-open.c
@@ -1542,8 +1542,8 @@ ctf_bufopen_internal (const ctf_sect_t *ctfsect, const ctf_sect_t *symsect,
(err = flip_ctf (hp, fp->ctf_buf)) != 0)
{
/* We can be certain that flip_ctf() will have endian-flipped everything
- other than the types table when we return. In particular the header
- is fine, so set it, to allow freeing to use the usual code path. */
+ other than the types table when we return. In particular the header
+ is fine, so set it, to allow freeing to use the usual code path. */
ctf_set_base (fp, hp, fp->ctf_base);
goto bad;
diff --git a/libctf/ctf-types.c b/libctf/ctf-types.c
index 27cbfb94d0..b0139e82bd 100644
--- a/libctf/ctf-types.c
+++ b/libctf/ctf-types.c
@@ -441,7 +441,7 @@ ctf_type_lname (ctf_file_t *fp, ctf_id_t type, char *buf, size_t len)
size_t slen;
if (str == NULL)
- return CTF_ERR; /* errno is set for us */
+ return CTF_ERR; /* errno is set for us. */
slen = strlen (str);
snprintf (buf, len, "%s", str);
--
2.23.0.239.g28aa4420fd
More information about the Binutils
mailing list