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/ctf-archive.c | |
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/ctf-archive.c')
-rw-r--r-- | libctf/ctf-archive.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |