# [PATCH] builtin-for-each-ref.c: fix typo in error message

1 messages from 2008-02-24 to 2008-02-24. Participants: Michele Ballabio.
Thread: https://gitlist.dev/t/12306

## Michele Ballabio, 2008-02-24 23:16

Subject: [PATCH] builtin-for-each-ref.c: fix typo in error message
Message-ID: <200802250016.04649.barra_cuda@katamail.com>
URL: https://gitlist.dev/e/200802250016.04649.barra_cuda%40katamail.com

```
Signed-off-by: Michele Ballabio <barra_cuda@katamail.com>
---
 builtin-for-each-ref.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/builtin-for-each-ref.c b/builtin-for-each-ref.c
index f36a43c..07d9c57 100644
--- a/builtin-for-each-ref.c
+++ b/builtin-for-each-ref.c
@@ -165,7 +165,7 @@ static int verify_format(const char *format)
 	for (cp = format; *cp && (sp = find_next(cp)); ) {
 		const char *ep = strchr(sp, ')');
 		if (!ep)
-			return error("malformatted format string %s", sp);
+			return error("malformed format string %s", sp);
 		/* sp points at "%(" and ep points at the closing ")" */
 		parse_atom(sp + 2, ep);
 		cp = ep + 1;
-- 
1.5.4.2

```
