libctf: fix a comment typo

ctf_update has been called ctf_serialize for years now.

libctf/

	* ctf-impl.h: Fix comment typo.
This commit is contained in:
Nick Alcock 2024-01-05 11:12:37 +00:00
parent 4fa4e3d92a
commit bb2a9a465e

View File

@ -199,13 +199,13 @@ typedef struct ctf_err_warning
} ctf_err_warning_t; } ctf_err_warning_t;
/* Atoms associate strings with a list of the CTF items that reference that /* Atoms associate strings with a list of the CTF items that reference that
string, so that ctf_update() can instantiate all the strings using the string, so that ctf_serialize() can instantiate all the strings using the
ctf_str_atoms and then reassociate them with the real string later. ctf_str_atoms and then reassociate them with the real string later.
Strings can be interned into ctf_str_atom without having refs associated Strings can be interned into ctf_str_atom without having refs associated
with them, for values that are returned to callers, etc. Items are only with them, for values that are returned to callers, etc. Items are only
removed from this table on ctf_close(), but on every ctf_update(), all the removed from this table on ctf_close(), but on every ctf_serialize(), all
csa_refs in all entries are purged. */ the csa_refs in all entries are purged. */
typedef struct ctf_str_atom typedef struct ctf_str_atom
{ {