From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2103) id E689F3882AD0; Tue, 18 Jun 2024 12:55:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E689F3882AD0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1718715315; bh=n3jwaYL2MB2h/S/849GJWSdlZcY114uBx4t/kgf54e0=; h=From:To:Subject:Date:From; b=otTUDjVeGnOPkktuPqUvsAvnLaky7nCX2lp/qRtzCJpr3r5V4X9ROewE4fbVIlyl2 egEwrkLWDM2hI4cdSTpRg8JnWMJaZqvmZP1S7+jwvXyR0gYsPEkmzuMcqnLHD2TQ0P 0EV3AMulpsK4qz3Hnd0Tohd0GbDrnyDXYMDCL8yE= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Nick Alcock To: binutils-cvs@sourceware.org Subject: [binutils-gdb] include: fix libctf ECTF_NOENUMNAM error message X-Act-Checkin: binutils-gdb X-Git-Author: Nick Alcock X-Git-Refname: refs/heads/master X-Git-Oldrev: 1cdcc977329d8729745ad5f1389a39b9dc423754 X-Git-Newrev: f7b02dc3e12f9a8b7f04dee4b8fbcfc05305cbe7 Message-Id: <20240618125515.E689F3882AD0@sourceware.org> Date: Tue, 18 Jun 2024 12:55:15 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Df7b02dc3e12f= 9a8b7f04dee4b8fbcfc05305cbe7 commit f7b02dc3e12f9a8b7f04dee4b8fbcfc05305cbe7 Author: Nick Alcock Date: Tue Jun 11 19:46:57 2024 +0100 include: fix libctf ECTF_NOENUMNAM error message =20 ECTF_NOENUMNAM is emitted when enumerator constant names don't exist. Call them that, not 'enum elements'. =20 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).") \