From 5101099e687ab09471aa9844c32f296a0383d26e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dagfinn=20Ilmari=20Manns=C3=A5ker?= <ilmari@ilmari.org>
Date: Fri, 22 Dec 2023 01:46:41 +0000
Subject: [PATCH 08/13] ecpg: fix typo in get_dtype return value for
 ECPGd_count

All the other enum values return a string mathing the enum label, but
this has had a trailing r since the function was added in commit
339a5bbfb17ecd171ebe076c5bf016c4e66e2c0a
---
 src/interfaces/ecpg/preproc/type.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/interfaces/ecpg/preproc/type.c b/src/interfaces/ecpg/preproc/type.c
index 91adb89de9..a842bb6a1f 100644
--- a/src/interfaces/ecpg/preproc/type.c
+++ b/src/interfaces/ecpg/preproc/type.c
@@ -695,7 +695,7 @@ get_dtype(enum ECPGdtype type)
 	switch (type)
 	{
 		case ECPGd_count:
-			return "ECPGd_countr";
+			return "ECPGd_count";
 			break;
 		case ECPGd_data:
 			return "ECPGd_data";
-- 
2.39.2

