aboutsummaryrefslogtreecommitdiff
path: root/libctf/ctf-types.c
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2019-09-26 15:26:48 +0100
committerNick Alcock <nick.alcock@oracle.com>2019-10-03 17:04:56 +0100
commitfa56cdcd2427e701328ae1e20b0ca7916d580a14 (patch)
tree3dedc05de3acb2dcd8a80d7caa6d824afb356470 /libctf/ctf-types.c
parentd344b407dddfb59003f646ff29ac0850e7eec588 (diff)
downloadgdb-fa56cdcd2427e701328ae1e20b0ca7916d580a14.zip
gdb-fa56cdcd2427e701328ae1e20b0ca7916d580a14.tar.gz
gdb-fa56cdcd2427e701328ae1e20b0ca7916d580a14.tar.bz2
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.
Diffstat (limited to 'libctf/ctf-types.c')
-rw-r--r--libctf/ctf-types.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libctf/ctf-types.c b/libctf/ctf-types.c
index 27cbfb9..b0139e8 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);