From: Nick Alcock Date: Tue, 9 Jun 2020 10:18:25 +0000 (+0100) Subject: libctf, archive: fix bad error message X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac2ff760303260cf7f6137f08fc28d1a73cfcd6a;p=binutils-gdb.git libctf, archive: fix bad error message Get the function name right. libctf/ * ctf-archive.c (ctf_arc_bufopen): Fix message. --- diff --git a/libctf/ChangeLog b/libctf/ChangeLog index 3f82c641af2..c0db9585cbf 100644 --- a/libctf/ChangeLog +++ b/libctf/ChangeLog @@ -1,3 +1,7 @@ +2020-07-22 Nick Alcock + + * ctf-archive.c (ctf_arc_bufopen): Fix message. + 2020-07-22 Nick Alcock * ctf-impl.h (struct ctf_archive_internal) diff --git a/libctf/ctf-archive.c b/libctf/ctf-archive.c index e33f1cc9eaf..457855207bf 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; }