[38/59] libctf, archive: fix bad error message

Message ID 20200630233146.338613-39-nick.alcock@oracle.com
State New
Headers show
Series
  • Deduplicating CTF linker
Related show

Commit Message

H.J. Lu via Binutils June 30, 2020, 11:31 p.m.
Get the function name right.

libctf/
	* ctf-archive.c (ctf_arc_bufopen): Fix message.
---
 libctf/ctf-archive.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.27.0.247.g3dff7de930

Patch

diff --git a/libctf/ctf-archive.c b/libctf/ctf-archive.c
index 4885e16281e..2ec13104d8f 100644
--- a/libctf/ctf-archive.c
+++ b/libctf/ctf-archive.c
@@ -411,7 +411,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;
 	}