libctf, archive: fix bad error message
authorNick Alcock <nick.alcock@oracle.com>
Tue, 9 Jun 2020 10:18:25 +0000 (11:18 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Wed, 22 Jul 2020 17:02:18 +0000 (18:02 +0100)
Get the function name right.

libctf/
* ctf-archive.c (ctf_arc_bufopen): Fix message.

libctf/ChangeLog
libctf/ctf-archive.c

index 3f82c641af2b4c224bfd41d43c4c036834304202..c0db9585cbf49836c80f353a227bc4654d5dc507 100644 (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>
index e33f1cc9eaf3cc4186153b8b877b9c16ece53547..457855207bffd349f95d0fb801b238e558c5eac2 100644 (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;
        }