projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb: rename i386-cygwin-tdep.c to i386-windows-tdep.c
[binutils-gdb.git]
/
libctf
/
ctf-types.c
diff --git
a/libctf/ctf-types.c
b/libctf/ctf-types.c
index 27cbfb94d00bc748e93375d3c480c1ef80e3eb8b..cd910434ea41abcf72bdee6c19b5d8b9f22cd05b 100644
(file)
--- a/
libctf/ctf-types.c
+++ b/
libctf/ctf-types.c
@@
-1,5
+1,5
@@
/* Type handling functions.
/* Type handling functions.
- Copyright (C) 2019 Free Software Foundation, Inc.
+ Copyright (C) 2019
-2020
Free Software Foundation, Inc.
This file is part of libctf.
This file is part of libctf.
@@
-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)
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);
slen = strlen (str);
snprintf (buf, len, "%s", str);