diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2020-06-09 11:18:25 +0100 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2020-07-22 18:02:18 +0100 |
commit | ac2ff760303260cf7f6137f08fc28d1a73cfcd6a (patch) | |
tree | a3ddc5354b39492b50dabc3a231439f6a50bdb11 /libctf | |
parent | d50c08025d41b2efc70dbb384fc691f2d9632463 (diff) | |
download | gdb-ac2ff760303260cf7f6137f08fc28d1a73cfcd6a.zip gdb-ac2ff760303260cf7f6137f08fc28d1a73cfcd6a.tar.gz gdb-ac2ff760303260cf7f6137f08fc28d1a73cfcd6a.tar.bz2 |
libctf, archive: fix bad error message
Get the function name right.
libctf/
* ctf-archive.c (ctf_arc_bufopen): Fix message.
Diffstat (limited to 'libctf')
-rw-r--r-- | libctf/ChangeLog | 4 | ||||
-rw-r--r-- | libctf/ctf-archive.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libctf/ChangeLog b/libctf/ChangeLog index 3f82c64..c0db958 100644 --- a/libctf/ChangeLog +++ b/libctf/ChangeLog @@ -1,5 +1,9 @@ 2020-07-22 Nick Alcock <nick.alcock@oracle.com> + * ctf-archive.c (ctf_arc_bufopen): Fix message. + +2020-07-22 Nick Alcock <nick.alcock@oracle.com> + * ctf-impl.h (struct ctf_archive_internal) <ctfi_free_strsect> New. * ctf-open-bfd.c (ctf_bfdopen_ctfsect): Explicitly open a strtab diff --git a/libctf/ctf-archive.c b/libctf/ctf-archive.c index e33f1cc..4578552 100644 --- a/libctf/ctf-archive.c +++ b/libctf/ctf-archive.c @@ -404,7 +404,7 @@ ctf_arc_bufopen (const ctf_sect_t *ctfsect, const ctf_sect_t *symsect, is_archive = 0; if ((fp = ctf_bufopen (ctfsect, symsect, strsect, errp)) == NULL) { - ctf_dprintf ("ctf_internal_open(): cannot open CTF: %s\n", + ctf_dprintf ("ctf_arc_bufopen(): cannot open CTF: %s\n", ctf_errmsg (*errp)); return NULL; } |