libctf, archive: fix bad error message

Get the function name right.

libctf/
	* ctf-archive.c (ctf_arc_bufopen): Fix message.
This commit is contained in:
Nick Alcock 2020-06-09 11:18:25 +01:00
parent d50c08025d
commit ac2ff76030
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
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>

View file

@ -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;
}