]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
include: fix libctf ECTF_NOENUMNAM error message
authorNick Alcock <nick.alcock@oracle.com>
Tue, 11 Jun 2024 18:46:57 +0000 (19:46 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Tue, 18 Jun 2024 12:20:31 +0000 (13:20 +0100)
ECTF_NOENUMNAM is emitted when enumerator constant names don't exist.
Call them that, not 'enum elements'.

include/
* ctf-api.h (ECTF_NOENUMNAM): fix error message.

include/ctf-api.h

index 392964a4ac90b69d8e32661192ea2c3124fb6c36..85734afcac284c2f5e3aa5e91aa76d7db9b380f4 100644 (file)
@@ -219,7 +219,7 @@ typedef struct ctf_snapshot_id
   _CTF_ITEM (ECTF_NOLABEL, "No label found corresponding to name.") \
   _CTF_ITEM (ECTF_NOLABELDATA, "File does not contain any labels.") \
   _CTF_ITEM (ECTF_NOTSUP, "Feature not supported.") \
-  _CTF_ITEM (ECTF_NOENUMNAM, "Enum element name not found.") \
+  _CTF_ITEM (ECTF_NOENUMNAM, "Enumerator name not found.") \
   _CTF_ITEM (ECTF_NOMEMBNAM, "Member name not found.") \
   _CTF_ITEM (ECTF_RDONLY, "CTF container is read-only.") \
   _CTF_ITEM (ECTF_DTFULL, "CTF type is full (no more members allowed).") \