aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2024-07-26 21:20:50 +0100
committerNick Alcock <nick.alcock@oracle.com>2024-07-31 21:02:05 +0100
commitadc74ae98fdbbd82b97e57bbf1cef3483e8cff2f (patch)
treecc49ed0994188d24db487e1f3ac24bcef005ad32 /include
parent58db4b3531774e64a37f724f020a431adc4250e5 (diff)
downloadbinutils-adc74ae98fdbbd82b97e57bbf1cef3483e8cff2f.zip
binutils-adc74ae98fdbbd82b97e57bbf1cef3483e8cff2f.tar.gz
binutils-adc74ae98fdbbd82b97e57bbf1cef3483e8cff2f.tar.bz2
include, libctf: improve ECTF_DUPLICATE error message
It applies to enums now, so it should mention them. include/ * ctf-api.h (_CTF_ERRORS) ECTF_DUPLICATE]: Mention enums.
Diffstat (limited to 'include')
-rw-r--r--include/ctf-api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ctf-api.h b/include/ctf-api.h
index ad5add2..d3d8dbf 100644
--- a/include/ctf-api.h
+++ b/include/ctf-api.h
@@ -225,7 +225,7 @@ typedef struct ctf_snapshot_id
_CTF_ITEM (ECTF_RDONLY, "CTF container is read-only.") \
_CTF_ITEM (ECTF_DTFULL, "CTF type is full (no more members allowed).") \
_CTF_ITEM (ECTF_FULL, "CTF container is full.") \
- _CTF_ITEM (ECTF_DUPLICATE, "Duplicate member or variable name.") \
+ _CTF_ITEM (ECTF_DUPLICATE, "Duplicate member, enumerator, or variable name.") \
_CTF_ITEM (ECTF_CONFLICT, "Conflicting type is already defined.") \
_CTF_ITEM (ECTF_OVERROLLBACK, "Attempt to roll back past a ctf_update.") \
_CTF_ITEM (ECTF_COMPRESS, "Failed to compress CTF data.") \