From ac2ff760303260cf7f6137f08fc28d1a73cfcd6a Mon Sep 17 00:00:00 2001 From: Nick Alcock Date: Tue, 9 Jun 2020 11:18:25 +0100 Subject: [PATCH] libctf, archive: fix bad error message Get the function name right. libctf/ * ctf-archive.c (ctf_arc_bufopen): Fix message. --- libctf/ChangeLog | 4 ++++ libctf/ctf-archive.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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; } -- 2.30.2