]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
libctf: typos
authorNick Alcock <nick.alcock@oracle.com>
Fri, 26 Apr 2024 16:50:20 +0000 (17:50 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Fri, 17 May 2024 11:58:17 +0000 (12:58 +0100)
Some functions were renamed without the comments catching up.

libctf/
* ctf-open.c (upgrade_types_v1): Fix comment typos.

libctf/ctf-open.c

index 9cbf07626cc95a6311a64bd26a0a128cd4360391..03faf2d886f146a6e5e0c73e4a0994de67dd9aa6 100644 (file)
@@ -438,7 +438,7 @@ upgrade_types_v1 (ctf_dict_t *fp, ctf_header_t *cth)
   tbuf = (ctf_type_v1_t *) (fp->ctf_buf + cth->cth_typeoff);
   tend = (ctf_type_v1_t *) (fp->ctf_buf + cth->cth_stroff);
 
-  /* Much like init_types(), this is a two-pass process.
+  /* Much like init_static_types(), this is a two-pass process.
 
      First, figure out the new type-section size needed.  (It is possible,
      in theory, for it to be less than the old size, but this is very
@@ -636,7 +636,7 @@ upgrade_types_v1 (ctf_dict_t *fp, ctf_header_t *cth)
 
   /* Verify that the entire region was converted.  If not, we are either
      converting too much, or too little (leading to a buffer overrun either here
-     or at read time, in init_types().) */
+     or at read time, in init_static_types().) */
 
   assert ((size_t) t2p - (size_t) fp->ctf_buf == cth->cth_stroff);