public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
From: Nick Alcock <nix@sourceware.org>
To: binutils-cvs@sourceware.org
Subject: [binutils-gdb] include: fix libctf ECTF_NOENUMNAM error message
Date: Tue, 18 Jun 2024 12:55:15 +0000 (GMT)	[thread overview]
Message-ID: <20240618125515.E689F3882AD0@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f7b02dc3e12f9a8b7f04dee4b8fbcfc05305cbe7

commit f7b02dc3e12f9a8b7f04dee4b8fbcfc05305cbe7
Author: Nick Alcock <nick.alcock@oracle.com>
Date:   Tue Jun 11 19:46:57 2024 +0100

    include: fix libctf ECTF_NOENUMNAM error message
    
    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.

Diff:
---
 include/ctf-api.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/ctf-api.h b/include/ctf-api.h
index 392964a4ac9..85734afcac2 100644
--- a/include/ctf-api.h
+++ b/include/ctf-api.h
@@ -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).") \

                 reply	other threads:[~2024-06-18 12:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240618125515.E689F3882AD0@sourceware.org \
    --to=nix@sourceware.org \
    --cc=binutils-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).